Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
font.tex 472 B
% 覆盖Ctex字体设置
\sys_if_platform_windows:TF
{
    % \setCJKfamilyfont{zhfs}   {FangSong} [AutoFakeBold={\FakeBoldSize}]
    % \setCJKfamilyfont{zhhei}  {SimHei}   [AutoFakeBold={\FakeBoldSize}]
    \setCJKfamilyfont{zhkai}  {KaiTi}    [AutoFakeBold=2.17]
    \setCJKfamilyfont{zhsong} {SimSun}   [AutoFakeBold=2.17]

    % \setCJKmainfont[AutoFakeBold={2.17}]{SimSun}
}
{
    % 检测是否是Macos
    \ctex_if_platform_macos:TF 
    {

    }
    {

    }
    
}