Skip to content

Commit

Permalink
[ci skip] wip style thesis hnu
Browse files Browse the repository at this point in the history
  • Loading branch information
annProg committed Sep 6, 2019
1 parent 816b7e5 commit 89b9c8c
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions styles/thesis/hnu/style/abstract.sty
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@

\newenvironment{abstract}[2]{
% abstract
\newenvironment*{abstract}[2]{
%\parindent{2em}
\def\invalue{#1}
\def\english{e}
\def\keyword{#2}
\def\keywords{#2}
% 论文题目
\begin{center}
\heiti\xiaosan\ctitle \\
\vspace{1em}
\heiti\sanhao
\ifx\invalue\english
{Abstract} \\
{\Large \bfseries \@etitle} \\
\vspace{1.5em}
{\LARGE \bfseries Abstract} \\
\addcontentsline{toc}{chapter}{Abstract}
\else
{摘~~~~~~要} \\

{\Large \bfseries \@title} \\
\vspace{1.5em}
{\LARGE \bfseries 摘~~~~要} \\
\addcontentsline{toc}{chapter}{摘要}
\fi
\vspace{1em}
\vspace{0.5em}
\end{center}
\songti\xiaosi
}{
\vspace{1em}\\
\heiti\sihao
\ifx\invalue\english{}
Key Words:
\else
关键词:
\fi
\keyword
\cleardoublepage
\par
\vspace{1cm}
\noindent
\ifx\invalue\english
{\bfseries Key Words: }
\else
{\bfseries 关键词: }
\fi
\keywords
\cleardoublepage
}

0 comments on commit 89b9c8c

Please sign in to comment.