Open ghost opened 2 years ago
首先非常感谢作者大大提供的好用的latex模板,给我的毕业论文书写提供了莫大帮助。我在具体使用时发现自己论文二级三级标题的字体格式不正确,环境为M1pro Macbook Pro下的MacTex。
在thesis.tex文档中定位到这段代码,尝试修改subsection和subsubsection中的\heiti发现不生效,确认自己的二级三级标题格式不正确。
\heiti
\ctexset{ section = { format = \centering\bfseries\zihao{-2} \heiti, name = {第, 章} }, subsection = { nameformat = \bfseries\zihao{3} \heiti }, subsubsection = { nameformat = \bfseries\zihao{4} \heiti } }
尝试去掉nameformat的name后,发现可以正确显示字体。如下图所示: 将subsection和subsubsection都设置为隶书后,只有删除 name 改为 format = 的subsubsection字体格式生效。
nameformat
name
format =
对LaTex不是很了解,不清楚上面的代码的正确格式,误打误撞发现字体正常了。或许能对同样遇到这个问题的用Mac的小伙伴一点帮助。
首先非常感谢作者大大提供的好用的latex模板,给我的毕业论文书写提供了莫大帮助。我在具体使用时发现自己论文二级三级标题的字体格式不正确,环境为M1pro Macbook Pro下的MacTex。
在thesis.tex文档中定位到这段代码,尝试修改subsection和subsubsection中的
\heiti
发现不生效,确认自己的二级三级标题格式不正确。尝试去掉
nameformat
的name
后,发现可以正确显示字体。如下图所示: 将subsection和subsubsection都设置为隶书后,只有删除name
改为format =
的subsubsection字体格式生效。对LaTex不是很了解,不清楚上面的代码的正确格式,误打误撞发现字体正常了。或许能对同样遇到这个问题的用Mac的小伙伴一点帮助。