fix italic/bold CJK font warnings
This commit is contained in:
2
main.tex
2
main.tex
@@ -21,7 +21,7 @@ $MATH$
|
||||
\section{is this bold $MATH \Z$?}
|
||||
\section{这是bold $\text{你好abc}\R$?}
|
||||
\begin{theorem}[sbada]
|
||||
aaa
|
||||
aaa 中文
|
||||
\end{theorem}
|
||||
|
||||
\begin{equation}
|
||||
|
@@ -12,14 +12,14 @@
|
||||
|
||||
% Now use the conditional
|
||||
\ifmyctex@sans
|
||||
\setCJKmainfont{Source Han Sans SC}
|
||||
\setCJKmainfont{Source Han Sans SC}[BoldFont=*, ItalicFont=*]
|
||||
\setCJKsansfont{Source Han Sans SC}
|
||||
\setCJKmonofont{Source Han Sans SC}
|
||||
\usepackage[fira]{fontsetup}
|
||||
\usepackage{FiraMono}
|
||||
|
||||
\else
|
||||
\setCJKmainfont{Source Han Serif SC}
|
||||
\setCJKmainfont{Source Han Serif SC}[BoldFont=*, ItalicFont=*]
|
||||
\setCJKsansfont{Source Han Serif SC}
|
||||
\setCJKmonofont{Source Han Serif SC}
|
||||
\RequirePackage[charter]{mathdesign} % math font only for serif mode
|
||||
|
Reference in New Issue
Block a user