From 355bd4cf7eae76bce94e820b6cb0305b32c4e6b7 Mon Sep 17 00:00:00 2001 From: liziwl Date: Tue, 26 Apr 2022 09:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=91=98=E8=A6=81=E5=92=8C=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E5=8A=A0=E5=85=A5=E7=BD=97=E9=A9=AC=E9=A1=B5=E7=A0=81=EF=BC=8C?= =?UTF-8?q?#31?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.tex | 8 +++++++- sustechthesis.cls | 14 +++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/main.tex b/main.tex index 9640b01..ce4ea99 100644 --- a/main.tex +++ b/main.tex @@ -27,17 +27,23 @@ \begin{document} \中文标题页\英文标题页 -\中文诚信承诺书\英文诚信承诺书 + +\中文诚信承诺书 +\英文诚信承诺书 + +\前序格式化 \摘要标题 \input{sections/examples/abstract.tex} % 论文摘要 \目录\clearpage % 目录及换页 +\正文格式化 \input{sections/examples/disclaimer.tex} \input{sections/examples/interface.tex} \input{sections/examples/details.tex} \input{sections/examples/figures.tex} \input{sections/examples/tutorial.tex}\clearpage + \参考文献 \printbibliography[heading=none]\clearpage \附录 diff --git a/sustechthesis.cls b/sustechthesis.cls index 763ad1d..2c2a63e 100644 --- a/sustechthesis.cls +++ b/sustechthesis.cls @@ -175,15 +175,21 @@ % 设置键-值 \newcommand{\设置信息}[1]{\setkeys{信息}{#1}} +\newcommand{\前序格式化}{ + \setcounter{page}{1} + \pagenumbering{Roman} +} +\newcommand{\正文格式化}{ + \setcounter{page}{1} + \pagenumbering{arabic} +} + % 目录 % 无论是撰写规范还是样例都没有提到页码位置 % 已确认页码应在正文处开始 \newcommand{\目录}{ - \pagenumbering{gobble} \tableofcontents \clearpage - \pagenumbering{arabic} - \setcounter{page}{1} } \RequirePackage{fancyhdr} \pagestyle{fancy} @@ -388,7 +394,6 @@ } \newenvironment{中文摘要}[1]% {\setsepchar{;}\readlist\args{#1} - \thispagestyle{empty} \begin{spacing}{1.45} \noindent\黑体\三号[摘要]: \宋体\四号}% @@ -405,7 +410,6 @@ \vfill\clearpage} \newenvironment{英文摘要}[1]% {\setsepchar{{, }}\readlist\args{#1} - \thispagestyle{empty} \begin{spacing}{1.45} \noindent\三号 [\textbf{ABSTRACT}]: \四号}%