Skip to content

定制目录章节字体及字号 #225

Answered by atxy-blip
ManifoldsHu asked this question in Q&A
Discussion options

You must be logged in to vote

转移到 Discussions 了。目录标题格式默认与章标题保持一致,但你也可以单独改。这里也不建议直接在格式里加带参数的 \zihao 命令。

\newcommand\sihao{\zihao{4}}
\newcommand\xiaoer{\zihao{-2}}
\njusetformat{chapter}{\xiaoer\rmfamily\centering\bfseries}
\njusetformat{chapterintoc}{\sihao\rmfamily\bfseries}

NJUThesis/source/njuthesis.dtx

Lines 8458 to 8464 in b3d4c24

{ section } { \bigger \normalfont \sffamily },
{ chapter } { \c_@@_fmt_section_tl \centering },
{ chapterintoc } { \c_@@_fmt_section_tl },
{ subsection } { \c_@@_fmt_section_tl },
{ subsubsection } { \c_@@_fmt_section_tl },
{ paragraph } { \c_@@_fmt_section_tl },
{ subparagraph } { \c_@@_fmt_section_tl },

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ManifoldsHu
Comment options

Answer selected by ManifoldsHu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #224 on June 02, 2023 16:29.