File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1847,8 +1847,15 @@ \subsection{如何修改数学公式的字体?}
1847
1847
1848
1848
\textit {请事先安装 XITS 字体。 }
1849
1849
1850
+ 此外,如果使用 \TeX {} Gyre Pagella Math 等字面较大的字体,略微增加数学行距可能更美观:
1851
+ \begin {latex }
1852
+ \setmathfont {texgyrepagella-math.otf}
1853
+ \SetMathEnvironmentSinglespace {1.05}
1854
+ \end {latex }
1855
+
1850
1856
\textit {更多字体与使用方法请参考
1851
- \href {https://ctan.org/pkg/unicode-math?lang=zh}{unicode-math 手册}。 }
1857
+ \href {https://ctan.org/pkg/unicode-math?lang=zh}{unicode-math 手册}和
1858
+ \href {https://ctan.org/pkg/zhlineskip}{zhlineskip 手册}。 }
1852
1859
1853
1860
\subsection {如何采用与 Word 相同的中文字体? } \label {sec:word-fonts }
1854
1861
Original file line number Diff line number Diff line change 961
961
\RequirePackage {geometry}
962
962
\RequirePackage [table,xcdraw]{xcolor}
963
963
\RequirePackage {xeCJK}
964
+ % 恢复数学行距(restoremathleading),同时避免改变正文行距。
965
+ % (ctex 默认 linespread 1.3 × LaTeX 默认倍数 1.2 = 1.56)
966
+ \RequirePackage [bodytextleadingratio=1.56]{zhlineskip}
964
967
\RequirePackage {titletoc}
965
968
\RequirePackage {graphicx}
966
969
\RequirePackage {fancyhdr}
You can’t perform that action at this time.
0 commit comments