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

View File

@@ -1,6 +1,6 @@
%!TEX program = 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}
\author{Ethan DENG \\ Fudan University \and Dongsheng DENG \\ PA Technology}

View File

@@ -70,7 +70,7 @@
\graphicspath{{image/}{figure/}{fig/}{img/}}
% caption settings
\RequirePackage[font=small,labelfont={bf}]{caption}
\RequirePackage[font=small,labelfont={bf}]{caption}
\captionsetup[table]{skip=3pt}
\captionsetup[figure]{skip=3pt}
@@ -79,7 +79,6 @@
\setlist{nolistsep}
\RequirePackage[\ELEGANT@cite,sort&compress]{natbib}
% \PassOptionsToPackage{\ELEGANT@cite}{natbib}
\setlength{\bibsep}{0.0pt}
\def\bibfont{\footnotesize}
@@ -92,7 +91,7 @@
\definecolor{frenchplum}{RGB}{190,20,83}
% add the \email cmd
% add the email cmd
\newcommand\email[1]{\href{mailto:#1}{\nolinkurl{#1}}}
% font settings
@@ -100,7 +99,8 @@
\ifdefstring{\ELEGANT@lang}{cn}{%
\RequirePackage[UTF8, scheme=plain]{ctex}
}
\AfterEndPreamble{\renewcommand{\itshape}{\kaishu}}
}{\relax}
\ifxetex
\RequirePackage{fontenc}
@@ -133,7 +133,7 @@
\theoremstyle{plain}% default
\newtheorem{theorem}{}[section] %
\newtheorem{lemma}[theorem]{} %
\newtheorem{proposition}[theorem]{} %
\newtheorem{proposition}[theorem]{} %
\newtheorem*{corollary}{} %
\theoremstyle{definition} %
\newtheorem{definition}{}[section] %
@@ -152,7 +152,7 @@
\newcommand\updatetext{}%
\renewcommand\abstractname{\hspace{2em}}
\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\figref[1]{{\bfseries ~\ref{#1}}}
@@ -256,12 +256,12 @@
\vskip 0.5ex%
\IfEmpty\version
\else
{\small\normalfont\ifdefstring{\ELEGANT@lang}{en}{\itshape}{\kaishu}\versiontext\the\version}
{\small\normalfont\itshape\versiontext\the\version}
\fi
\ifx\@date\empty
\else
\vskip 0.1em%
{\small\normalfont\ifdefstring{\ELEGANT@lang}{en}{\itshape}{\kaishu}\updatetext\@date}%
{\small\normalfont\itshape\updatetext\@date}%
\fi
\end{center}%
\par