refactor(paper): 将摘要内容从主文件移至单独章节文件
为了提升代码的可维护性和模块化,将中文和英文摘要从 `main.tex` 文件中提取出来,并放入单独的 `abstract.tex` 文件中。同时,添加了 `titlesec` 包以改进章节标题的格式化。
This commit is contained in:
parent
959ff2033d
commit
3e520604ba
21
paper/latex/chapters/abstract.tex
Normal file
21
paper/latex/chapters/abstract.tex
Normal file
@ -0,0 +1,21 @@
|
||||
% 中文摘要
|
||||
\begin{onecolabstract}
|
||||
\noindent{}{\zihao{4}\textbf{摘要\qquad}}{\songti \zihao{-4}中文摘要内容********
|
||||
************************************************************
|
||||
***************************************************************************
|
||||
*************************************************************
|
||||
********************************************************
|
||||
*****************************************************************}\par
|
||||
|
||||
\vspace{1ex}
|
||||
|
||||
\noindent{}{\zihao{4}\textbf{关键词\qquad}}{\zihao{-4}\songti 关键词1;关键词2}\par
|
||||
\end{onecolabstract}
|
||||
|
||||
% 英文摘要
|
||||
\begin{onecolabstract}
|
||||
\noindent{}{\zihao{4} \textbf{ABSTRACT\qquad}}{\zihao{-4}abstract in English *************
|
||||
*******************************************************************************************
|
||||
*******************************************************************************************
|
||||
*******************************************************************************************}\par
|
||||
\end{onecolabstract}
|
@ -5,6 +5,12 @@
|
||||
%\graphicspath{{chapter/}{figures/}}
|
||||
\usepackage{CJK}
|
||||
\usepackage{amsmath}%数学
|
||||
\usepackage{titlesec}
|
||||
|
||||
\newcounter{mychapter}
|
||||
\titleformat{\section}
|
||||
{\normalfont\Large\bfseries}{\stepcounter{mychapter}第\themychapter 章}{1em}{}
|
||||
|
||||
|
||||
%\usepackage[colorlinks,linkcolor=red]{hyperref}%超链接
|
||||
|
||||
@ -153,36 +159,9 @@
|
||||
{\zihao{-4}\songti 电子信息工程 \quad 专业 \quad 电信151班 \quad ************* \par
|
||||
指导教师:****}
|
||||
\end{center}
|
||||
|
||||
|
||||
\begin{onecolabstract}
|
||||
\noindent{}{\zihao{4}\textbf{摘要\qquad}}{\songti \zihao{-4}中文摘要内容********
|
||||
************************************************************
|
||||
***************************************************************************
|
||||
*************************************************************
|
||||
********************************************************
|
||||
*****************************************************************}\par
|
||||
|
||||
\vspace{1ex}
|
||||
|
||||
\noindent{}{\zihao{4}\textbf{关键词\qquad}}{\zihao{-4}\songti 关键词1;关键词2}\par
|
||||
\end{onecolabstract}
|
||||
|
||||
|
||||
\begin{onecolabstract}
|
||||
% \setlength\parskip{0em}
|
||||
\noindent{}{\zihao{4} \textbf{ABSTRACT\qquad}}{\zihao{-4}abstract in English *************
|
||||
*******************************************************************************************
|
||||
*******************************************************************************************
|
||||
*******************************************************************************************}\par
|
||||
|
||||
|
||||
\vspace{1ex}
|
||||
|
||||
\noindent{}{\zihao{4}\textbf{KEY WORDS\qquad}}{\zihao{-4}keywords1; keywords2}\par
|
||||
\end{onecolabstract}
|
||||
|
||||
|
||||
\input{chapters/abstract}
|
||||
|
||||
\newpage
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
Loading…
x
Reference in New Issue
Block a user