数字标题
This commit is contained in:
parent
47effd4f9e
commit
fb014ac143
@ -302,7 +302,7 @@
|
|||||||
\RequirePackage{titletoc}
|
\RequirePackage{titletoc}
|
||||||
\renewcommand\contentsname{\centerline{\toctitlefont{目\quad{}录}}}
|
\renewcommand\contentsname{\centerline{\toctitlefont{目\quad{}录}}}
|
||||||
\titlecontents{chapter}[0ex]{\tocchapterfont}{%
|
\titlecontents{chapter}[0ex]{\tocchapterfont}{%
|
||||||
第\CJKnumber{\thecontentslabel}章\quad{}}{}{%
|
第 \thecontentslabel 章\quad{}}{}{%
|
||||||
\hspace{.5em}\titlerule*[5pt]{$\cdot$}\contentspage}%
|
\hspace{.5em}\titlerule*[5pt]{$\cdot$}\contentspage}%
|
||||||
\titlecontents{section}[1em]{\tocsectionfont}{%
|
\titlecontents{section}[1em]{\tocsectionfont}{%
|
||||||
\thecontentslabel\quad{}}{}{%
|
\thecontentslabel\quad{}}{}{%
|
||||||
@ -321,8 +321,8 @@
|
|||||||
% Text style
|
% Text style
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\RequirePackage[pagestyles, rm]{titlesec}%调用titlesec涵盖fancyhdr的功能
|
\RequirePackage[pagestyles, rm]{titlesec}%调用titlesec涵盖fancyhdr的功能
|
||||||
\renewcommand{\chaptername}{第\CJKnumber{\thechapter}章}
|
\renewcommand{\chaptername}{第 \thechapter 章}
|
||||||
\titleformat{\chapter}[hang]{\textchapterfont}{第\CJKnumber{\thechapter}章}{1em}{}
|
\titleformat{\chapter}[hang]{\textchapterfont}{第 \thechapter 章}{1em}{}
|
||||||
\titleformat{\section}[hang]{\textsectionfont}{\thesection}{1em}{}
|
\titleformat{\section}[hang]{\textsectionfont}{\thesection}{1em}{}
|
||||||
\titleformat{\subsection}[hang]{\textsubsectionfont}{\thesubsection}{1em}{}
|
\titleformat{\subsection}[hang]{\textsubsectionfont}{\thesubsection}{1em}{}
|
||||||
\titleformat{\subsubsection}[hang]{\textsubsectionfont}{\thesubsubsection}{1ex}{}
|
\titleformat{\subsubsection}[hang]{\textsubsectionfont}{\thesubsubsection}{1ex}{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user