feat(syd-plex-latex): cjk

This commit is contained in:
2025-12-28 15:42:42 -07:00
parent ed4942cd58
commit 7a3eaf6788
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ stdenvNoCC.mkDerivation (final: {
fontspec
xltxtra
realscripts
xecjk
];
tlType = "run";
};

View File

@@ -6,8 +6,10 @@
\renewcommand*{\mathrm}[1]{\symup{#1}}
\RequirePackage{plex-otf}
\RequirePackage{xeCJK}
\setmathfont{IBM Plex Math}
\setmainfont{IBM Plex Serif}
\setCJKmainfont{IBM Plex Sans KR}
% Use sans-serif for \operatorname
\setoperatorfont\mathsf