fix proposition

This commit is contained in:
EthanDeng
2020-02-02 12:11:09 +08:00
parent 235280debf
commit 5a50903219
3 changed files with 17 additions and 9 deletions

View File

@@ -9,6 +9,9 @@
\version{0.08} \version{0.08}
\date{\zhtoday} \date{\zhtoday}
\usepackage{appendix}
\renewcommand{\appendixtocname}{附录}
\renewcommand{\appendixpagename}{附录}
\begin{document} \begin{document}
\maketitle \maketitle
@@ -192,4 +195,9 @@ The content of conclusion section.
\nocite{*} \nocite{*}
\bibliography{wpref} \bibliography{wpref}
\appendix
\appendixpage
\addappheadtotoc
\section{How I became inspired}
\end{document} \end{document}

View File

@@ -1,6 +1,6 @@
%!TEX program = pdflatex %!TEX program = pdflatex
% Full chain: pdflatex -> bibtex -> pdflatex -> pdflatex % Full chain: pdflatex -> bibtex -> pdflatex -> pdflatex
\documentclass[11pt,en,bibstyle=unsrt]{elegantpaper} \documentclass[11pt,en,bibstyle=ieeetr]{elegantpaper}
\title{ElegantPaper: An Elegant \LaTeX{} Template for Working Papers} \title{ElegantPaper: An Elegant \LaTeX{} Template for Working Papers}
\author{Ethan DENG \\ Fudan University \and Dongsheng DENG \\ PA Technology} \author{Ethan DENG \\ Fudan University \and Dongsheng DENG \\ PA Technology}

View File

@@ -79,7 +79,6 @@
\setlist{nolistsep} \setlist{nolistsep}
\RequirePackage[\ELEGANT@cite,sort&compress]{natbib} \RequirePackage[\ELEGANT@cite,sort&compress]{natbib}
% \PassOptionsToPackage{\ELEGANT@cite}{natbib}
\setlength{\bibsep}{0.0pt} \setlength{\bibsep}{0.0pt}
\def\bibfont{\footnotesize} \def\bibfont{\footnotesize}
@@ -92,7 +91,7 @@
\definecolor{frenchplum}{RGB}{190,20,83} \definecolor{frenchplum}{RGB}{190,20,83}
% add the \email cmd % add the email cmd
\newcommand\email[1]{\href{mailto:#1}{\nolinkurl{#1}}} \newcommand\email[1]{\href{mailto:#1}{\nolinkurl{#1}}}
% font settings % font settings
@@ -100,7 +99,8 @@
\ifdefstring{\ELEGANT@lang}{cn}{% \ifdefstring{\ELEGANT@lang}{cn}{%
\RequirePackage[UTF8, scheme=plain]{ctex} \RequirePackage[UTF8, scheme=plain]{ctex}
} \AfterEndPreamble{\renewcommand{\itshape}{\kaishu}}
}{\relax}
\ifxetex \ifxetex
\RequirePackage{fontenc} \RequirePackage{fontenc}
@@ -133,7 +133,7 @@
\theoremstyle{plain}% default \theoremstyle{plain}% default
\newtheorem{theorem}{}[section] % \newtheorem{theorem}{}[section] %
\newtheorem{lemma}[theorem]{} % \newtheorem{lemma}[theorem]{} %
\newtheorem{proposition}[theorem]{} % \newtheorem{proposition}[theorem]{} %
\newtheorem*{corollary}{} % \newtheorem*{corollary}{} %
\theoremstyle{definition} % \theoremstyle{definition} %
\newtheorem{definition}{}[section] % \newtheorem{definition}{}[section] %
@@ -152,7 +152,7 @@
\newcommand\updatetext{}% \newcommand\updatetext{}%
\renewcommand\abstractname{\hspace{2em}} \renewcommand\abstractname{\hspace{2em}}
\setlength\parindent{2\ccwd} \setlength\parindent{2\ccwd}
\renewcommand{\abstracttextfont}{\small\sffamily\kaishu\noindent\ignorespaces} \renewcommand{\abstracttextfont}{\small\upshape\itshape\noindent\ignorespaces}
% %
\newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries : } #1} \newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries : } #1}
\newcommand\figref[1]{{\bfseries ~\ref{#1}}} \newcommand\figref[1]{{\bfseries ~\ref{#1}}}
@@ -256,12 +256,12 @@
\vskip 0.5ex% \vskip 0.5ex%
\IfEmpty\version \IfEmpty\version
\else \else
{\small\normalfont\ifdefstring{\ELEGANT@lang}{en}{\itshape}{\kaishu}\versiontext\the\version} {\small\normalfont\itshape\versiontext\the\version}
\fi \fi
\ifx\@date\empty \ifx\@date\empty
\else \else
\vskip 0.1em% \vskip 0.1em%
{\small\normalfont\ifdefstring{\ELEGANT@lang}{en}{\itshape}{\kaishu}\updatetext\@date}% {\small\normalfont\itshape\updatetext\@date}%
\fi \fi
\end{center}% \end{center}%
\par \par