From 4eb98d07e04b1522eab1a85e153930c0840a4716 Mon Sep 17 00:00:00 2001 From: atxy <181850195@smail.nju.edu.cn> Date: Thu, 9 Sep 2021 18:56:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20emph=E6=A0=BC=E5=BC=8F=E3=80=81unicode-m?= =?UTF-8?q?ath=E8=AD=A6=E5=91=8A=E5=92=8C=E8=AF=AF=E5=88=A0=E7=9A=84?= =?UTF-8?q?=E5=A4=A7=E6=8B=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- profile/font.sty | 2 ++ profile/packages.sty | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/profile/font.sty b/profile/font.sty index 8662b6e..107b537 100644 --- a/profile/font.sty +++ b/profile/font.sty @@ -158,6 +158,7 @@ \set_latin_fontset_windows \set_chinese_fontset_windows } +{ % 妫€娴嬫槸鍚︽槸 macOS \ctex_if_platform_macos:TF { @@ -169,6 +170,7 @@ \set_latin_fontset_gyre \set_chinese_fontset_fandol } +} % 閫夋嫨鍏朵粬瀛椾綋锛岃纭繚鐩稿簲瀛椾綋宸插畨瑁呭苟鑷鍙栨秷娉ㄩ噴 % 浣跨敤鏂规瀛椾綋 diff --git a/profile/packages.sty b/profile/packages.sty index fa63787..64d221e 100644 --- a/profile/packages.sty +++ b/profile/packages.sty @@ -17,7 +17,7 @@ % \RequirePackage{appendix} % 瀹氫箟闄勫綍鏍峰紡 \RequirePackage{fancyhdr} % 璋冩暣椤电湁椤佃剼 \RequirePackage[hyphens]{url} % generate better linebreaks in the url -\RequirePackage{ulem} % 缁樺埗涓嬪垝绾� +\RequirePackage[normalem]{ulem} % 缁樺埗涓嬪垝绾� \RequirePackage{setspace} \RequirePackage{lastpage} \RequirePackage{emptypage} % 娓呴櫎绌虹櫧椤电殑椤电爜 @@ -50,7 +50,7 @@ \RequirePackage{amsthm} % Mathematical environments \RequirePackage{mathtools} % Mathematical tools to use with amsmath \RequirePackage{thmtools} % Theorem styles -\RequirePackage{unicode-math} % Math fonts in xetex or luatex +\RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % Math fonts in xetex or luatex \RequirePackage{graphicx} \DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png} -- GitLab