\ctexset {
chapter = {
format = \linespread{1.0}\zihao{4}\bfseries\sffamily\centering,
nameformat = {},
titleformat = {},
number = \arabic{chapter},
numberformat = \rmfamily,
aftername = \quad,
beforeskip = {7pt},
afterskip = {18pt},
pagestyle = plain,
}
}
\def\@chaptervspace{1ex}% vertical space between chapter titles
\renewcommand*{\l@chapter}[2]{% [<title>,<page>]
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}%
\vskip \@chaptervspace \@plus\p@
\setlength\@tempdima{1.5em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
\leavevmode \zihao{4}\sffamily
\advance\leftskip\@tempdima
\hskip -\leftskip
#1\nobreak
\leaders\hbox{$\m@th\mkern \@dotsep \cdot\mkern \@dotsep$}% add dotted toc line
\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
\penalty\@highpenalty
\endgroup
\fi
}
检查 / Check
closed issues编译环境 / Compilation Environment
overleaf
操作系统 / Operating System描述问题 / Problem Description
问题描述:
在proposal模板中只有section使用方法,到subsubsection就没有了,我想再加一个节标题,像thesis中(级别是chapter section sub subsub),直接把thesis中的搬过来没成功。
错误信息:LaTeX3 Error: The key 'ctex/chapter' is unknown and is being ignored.
我在ucasproposal.cls中加入了