16 lines
427 B
TeX
Executable File
16 lines
427 B
TeX
Executable File
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{syd-plex}[2025/12/01 Configure IBM Plex fonts]
|
|
|
|
% Redefine some commands to make unicode-math work lol. See §3.1 of the
|
|
% unicode-math manual.
|
|
\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
|