更改了默认字体为鸿蒙字体,并删除了多余字体。另外,更改字体读取方式为文件夹读取,这样,不用安装字体也可以编译。
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15
-3
@@ -101,9 +101,21 @@
|
||||
Path=font/
|
||||
]{HarmonyOS_Sans_Regular.ttf}
|
||||
|
||||
\setCJKmainfont[BoldFont={方正小标宋_GBK}, ItalicFont={方正楷体_GBK}, BoldItalicFont={方正仿宋_GBK}]{方正书宋_GBK}
|
||||
\setCJKsansfont{方正黑体_GBK}
|
||||
\setCJKmonofont{方正中等线_GBK}
|
||||
\setCJKmainfont[
|
||||
Path=font/,
|
||||
BoldFont=fangzhengxiaobiaosong_GBK.TTF,
|
||||
ItalicFont=fangzhengkaiti_GBK.TTF,
|
||||
BoldItalicFont=fangzhengfangsong_GBK.TTF,
|
||||
]{fangzhengshusong_GBK.TTF}
|
||||
\setCJKsansfont[
|
||||
Path=font/,
|
||||
BoldFont=HarmonyOS_Sans_SC_Bold.ttf,
|
||||
ItalicFont=HarmonyOS_Sans_SC_Light.ttf,
|
||||
BoldItalicFont=HarmonyOS_Sans_SC_Black.ttf,
|
||||
]{HarmonyOS_Sans_SC_Regular.ttf}
|
||||
\setCJKmonofont[
|
||||
Path=font/
|
||||
]{fangzhengzhongdengxian_GBK.TTF}
|
||||
|
||||
\XeTeXlinebreaklocale "zh"
|
||||
\XeTeXlinebreakskip = 0pt plus 1pt
|
||||
|
||||
BIN
Binary file not shown.
+1
-1
@@ -88,7 +88,7 @@
|
||||
|
||||
\vspace{0.75\baselineskip} % Whitespace above the title
|
||||
|
||||
{\heiti\zihao{2} 这是一个\\ 很好用的Latex模板\\} % Title
|
||||
{\zihao{2} 这是一个\\ 很好用的Latex模板\\} % Title
|
||||
|
||||
\vspace{0.75\baselineskip} % Whitespace below the title
|
||||
|
||||
|
||||
Reference in New Issue
Block a user