From 97ee546bdf10af4bc6d3ff3e53cad0447992d6eb Mon Sep 17 00:00:00 2001 From: carry <2641257231@qq.com> Date: Fri, 25 Apr 2025 18:10:16 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=AE=80=E5=8C=96=20LaTeX=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E7=9A=84=E6=B3=A8=E9=87=8A=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除冗余的分隔线注释,使代码更简洁易读 --- paper/latex/chapters/cover.tex | 4 +--- paper/latex/main.tex | 21 ++++++--------------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/paper/latex/chapters/cover.tex b/paper/latex/chapters/cover.tex index d021a63..a3b2de4 100644 --- a/paper/latex/chapters/cover.tex +++ b/paper/latex/chapters/cover.tex @@ -1,6 +1,4 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% 封面部分 -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 封面部分 \begin{titlepage} \begin{figure}[H] \centering diff --git a/paper/latex/main.tex b/paper/latex/main.tex index dd4d448..dad4caa 100644 --- a/paper/latex/main.tex +++ b/paper/latex/main.tex @@ -101,36 +101,27 @@ {}{\titlerule*[8pt]{.}\contentspage} -%设置页面格式 +% 设置页面格式 \usepackage[left=3.0cm, right=2.6cm, top=2.54cm, bottom=2.54cm]{geometry} \begin{document} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %% 封面部分 - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % 封面部分 \input{chapters/cover} \renewcommand{\abstractname}{\scriptsize} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %% 摘要和关键词部分 - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - \input{chapters/abstract} + %% 摘要和关键词部分 + \input{chapters/abstract} \newpage - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %% 目录部分 - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % 目录部分 \renewcommand{\contentsname}{\centerline{\zihao{-2}\textbf{目录}}} \tableofcontents \newpage - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %% 正文部分 - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % 正文部分 { \setlength{\baselineskip}{23pt}