We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c4257b commit 3764705Copy full SHA for 3764705
1 file changed
source/conf.py
@@ -88,6 +88,19 @@
88
\usepackage{eso-pic}
89
90
% ===== ===== 设置目录标题 ===== =====
91
+\makeatletter
92
+ \renewcommand{\tableofcontents}{%
93
+ \cleardoublepage
94
+ \chapter*{%
95
+ \vspace*{1.2cm}
96
+ \makebox[\textwidth][c]{\Huge\bfseries 目录}
97
+ }
98
+ \thispagestyle{empty}
99
+ \@mkboth{目录}{目录}
100
+ \@starttoc{toc}
101
102
+\makeatother
103
+
104
\makeatletter
105
\renewcommand{\cftchappresnum}{第}
106
\renewcommand{\cftchapaftersnum}{章}
@@ -105,11 +118,6 @@
118
}
119
107
120
\makeatother
108
-
109
-% \cftsetpnumwidth {1.25cm}\cftsetrmarg{1.5cm}
110
-% \setlength{\cftchapnumwidth}{0.75cm}
111
-% \setlength{\cftsecindent}{\cftchapnumwidth}
112
-% \setlength{\cftsecnumwidth}{1.25cm}
113
121
''',
114
122
'maketitle': r'''
115
123
\input{CoverPage.tex.txt}
0 commit comments