-
Notifications
You must be signed in to change notification settings - Fork 12
/
Appendix_Settings.tex
34 lines (29 loc) · 1.51 KB
/
Appendix_Settings.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%----------------------------------------------------------------------------------------
% APPENDIX
%----------------------------------------------------------------------------------------
\appendix
% 附录标题样式调整
\titleformat{\section}{\centering\zihao{-2}\bfseries}{附录\Alph{section}}{1em}{}
\titleformat{\subsection}{\zihao{-3}\bfseries}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\zihao{4}\bfseries}{\thesubsubsection}{1em}{}
\titlecontents{section}[0em]{\zihao{4}\bfseries}
{\contentspush{{附录 \thecontentslabel}\hspace{1em}}}
{}{\titlerule*[5pt]{.}\contentspage}
\titlecontents{subsection}[2.2em]{\zihao{-4}\songti}{\contentspush{\thecontentslabel\hspace{0.7em}}}
{}{\titlerule*[5pt]{.}\contentspage}
\titlecontents{subsubsection}[3.9em]{\zihao{-4}\songti}{\contentspush{\thecontentslabel\hspace{0.7em}}}
{}{\titlerule*[5pt]{.}\contentspage}
\titlespacing*{\subsection} {0pt}{1ex}{1ex} % Adjust the space between title and context
\titlespacing*{\subsubsection} {0pt}{1ex}{1ex}
% 保留原有页眉页脚设置,与正文保持一致
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\sectionmark}[1]{\markboth{附录\Alph{section}\ \ #1}{}}
\fancyhead[C]{\songti{华南理工大学学士学位论文}}
\fancyhead[CO]{\songti\leftmark}
\fancyfoot[C]{\thepage}
% 保留原有公式编号设置,与正文保持一致
\makeatletter
\@addtoreset{equation}{section}
\makeatother
\renewcommand{\theequation}{\Alph{section}.\arabic{equation}}