mirror of
https://github.com/congyu711/ctexsty.git
synced 2025-07-12 08:31:32 +08:00
fix bold cjk font.
This commit is contained in:
parent
2dc48241f5
commit
11c8037c6e
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
% Now use the conditional
|
% Now use the conditional
|
||||||
\ifmyctex@sans
|
\ifmyctex@sans
|
||||||
\setCJKmainfont{Source Han Sans SC}[BoldFont=*, ItalicFont=*]
|
\setCJKmainfont{Source Han Sans SC}
|
||||||
\setCJKsansfont{Source Han Sans SC}
|
\setCJKsansfont{Source Han Sans SC}
|
||||||
\setCJKmonofont{Source Han Sans SC}
|
\setCJKmonofont{Source Han Sans SC}
|
||||||
\RequirePackage[fira]{fontsetup}
|
\RequirePackage[fira]{fontsetup}
|
||||||
@ -20,7 +20,7 @@
|
|||||||
\setmathfont{Fira Math}[range=\setminus]
|
\setmathfont{Fira Math}[range=\setminus]
|
||||||
|
|
||||||
\else
|
\else
|
||||||
\setCJKmainfont{Source Han Serif SC}[BoldFont=*, ItalicFont=*]
|
\setCJKmainfont{Source Han Serif SC}
|
||||||
\setCJKsansfont{Source Han Serif SC}
|
\setCJKsansfont{Source Han Serif SC}
|
||||||
\setCJKmonofont{Source Han Serif SC}
|
\setCJKmonofont{Source Han Serif SC}
|
||||||
\RequirePackage[charter]{mathdesign} % math font only for serif mode
|
\RequirePackage[charter]{mathdesign} % math font only for serif mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user