Last active
March 14, 2023 14:45
-
-
Save duskmoon314/2502ba0e02d6959c791f791816dc55ea to your computer and use it in GitHub Desktop.
ctex fontset founderfree: Only use total free founder fonts in ctex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ProvidesExplFile{ctex-fontset-founderfree.def} | |
{\ExplFileDate}{2.5.5}{\ExplFileDescription} | |
\ctex_fontset_case:nnn | |
{ | |
% TODO: Set font for pdfTeX | |
} | |
{ | |
% TODO: Set font for upTeX | |
} | |
{ | |
% Set font for XeTeX | |
\setCJKmainfont { FZShuSong-Z01 } | |
[ BoldFont = FZHei-B01, ItalicFont = FZKai-Z03 ] | |
\setCJKsansfont { FZHei-B01 } | |
\setCJKmonofont { FZFangSong-Z02 } | |
\setCJKfamilyfont { zhsong } { FZShuSong-Z01 } | |
\setCJKfamilyfont { zhhei } { FZHei-B01 } | |
\setCJKfamilyfont { zhkai } { FZKai-Z03 } | |
\setCJKfamilyfont { zhfs } { FZFangSong-Z02 } | |
} | |
\NewDocumentCommand \songti { } { \CJKfamily { zhsong } } | |
\NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } | |
\NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } | |
\NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } |
Author
duskmoon314
commented
Mar 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment