首先确定使用的宏包是titlesec
\usepackage{titlesec}然后设置你想使用的字体(中英各一个)
\newfontfamily\sectionef{LithosPro-Regular}
\newCJKfontfamily\sectioncf{DFWaWaSC-W5}%我电脑上的娃娃体文字的PostScript的名称然后开始设置各个的新格式
\titleformat*{\section}{\LARGE\sectioncf}
\titleformat*{\subsection}{\Large\sectionef}
\titleformat*{\subsubsection}{\large\bfseries}
\titleformat*{\paragraph}{\large\bfseries}
\titleformat*{\subparagraph}{\large\bfseries}下面是运行后的demo
结果如下
版权声明:本文为cdqn10086原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。