feat(syd-plex-latex): cjk
This commit is contained in:
@@ -18,6 +18,7 @@ stdenvNoCC.mkDerivation (final: {
|
|||||||
fontspec
|
fontspec
|
||||||
xltxtra
|
xltxtra
|
||||||
realscripts
|
realscripts
|
||||||
|
xecjk
|
||||||
];
|
];
|
||||||
tlType = "run";
|
tlType = "run";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,8 +6,10 @@
|
|||||||
\renewcommand*{\mathrm}[1]{\symup{#1}}
|
\renewcommand*{\mathrm}[1]{\symup{#1}}
|
||||||
|
|
||||||
\RequirePackage{plex-otf}
|
\RequirePackage{plex-otf}
|
||||||
|
\RequirePackage{xeCJK}
|
||||||
\setmathfont{IBM Plex Math}
|
\setmathfont{IBM Plex Math}
|
||||||
\setmainfont{IBM Plex Serif}
|
\setmainfont{IBM Plex Serif}
|
||||||
|
\setCJKmainfont{IBM Plex Sans KR}
|
||||||
|
|
||||||
% Use sans-serif for \operatorname
|
% Use sans-serif for \operatorname
|
||||||
\setoperatorfont\mathsf
|
\setoperatorfont\mathsf
|
||||||
|
|||||||
Reference in New Issue
Block a user