Skip to content

Commit f2bcf20

Browse files
committed
modify
1 parent 452a3f2 commit f2bcf20

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

source/conf.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,17 @@
3232
'papersize': 'a4paper',
3333
'pointsize': '12pt',
3434
'preamble': r'''
35-
\usepackage{xeCJK}
36-
\setCJKmainfont[BoldFont=Noto Sans CJK TC, ItalicFont=Noto Serif CJK TC]{Noto Sans CJK TC}
37-
\setCJKsansfont[BoldFont=Noto Sans CJK TC]{Noto Sans CJK TC}
38-
\setCJKmonofont{Noto Sans Mono CJK TC}
39-
\XeTeXlinebreaklocale "zh"
40-
\XeTeXlinebreakskip = 0pt plus 1pt
35+
\usepackage[UTF8]{ctex}
36+
37+
\setCJKmainfont[BoldFont=STZhongsong, ItalicFont=STKaiti]{STSong}
38+
\setCJKsansfont[BoldFont=STHeiti]{STXihei}
39+
\setCJKmonofont{STFangsong}
40+
\XeTexlinebreaklocale "zh"
41+
\XeTexlinebreakskip = Opt plus 1pt
4142
\parindent 2em
42-
\definecolor{VerbatimColor}{rgb}{0.95,0.95,0.95}
43-
\setcounter{tocdepth}{3}
44-
\renewcommand\familydefault{\ttdefault}
43+
\definecolor (VerbatimColor}{rgb}{0.95,0.95,0.95)
44+
\setcounter{tocdepth}{3} \renewcommand\familydefault{\ttdefault}
4545
\renewcommand\CJKfamilydefault{\CJKrmdefault}
46+
4647
''',
4748
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy