Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac下字体要变 #7

Open
hexi111 opened this issue Jan 30, 2018 · 1 comment
Open

mac下字体要变 #7

hexi111 opened this issue Jan 30, 2018 · 1 comment

Comments

@hexi111
Copy link

hexi111 commented Jan 30, 2018

环境 OSX 10.11 mactex 2017

\indent {\bfseries \NsfcNote{#1}}\NsfcNote{\setmainfont{KaiTi}#2} \vspace{9bp}
\indent \NsfcNote{\setmainfont{KaiTi} #1.}{\bfseries\NsfcNote{#2}}\NsfcNote{#3}

没有KaiTi, 也没有Kai, 只有STKaiti或者别的字体

@KimHe
Copy link

KimHe commented Apr 13, 2020

first load the ctex package with the [utf8, fontset=none] options
then further setup with ctexset,
change the fontset to a value supported by your local computer font-cache

`\usepackage[UTF8, fontset=none]{ctex} % 显式指定 uft8 编码选项

\ctexset{

fontset=windowsnew, % new, fandol, adobe, ubuntu, windowsold, mac, macold, macnew ...

punct=quanjiao, % banjiao, kaiming, CCT

autoindent=true, % false

linestretch=0.8,

today=small, % big, old

space=auto, % true, false

% linespread,

% zihao, 

% heading, 

% scheme, 

}
`

The workaround recommended by the author is not a decent way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants