renew date

This commit is contained in:
EthanDeng
2019-06-09 12:21:48 +08:00
parent b5f5115193
commit 1767742375

View File

@@ -1,4 +1,3 @@
% Current Version: 0.07
% Author: Dongsheng Deng % Author: Dongsheng Deng
% Homepage: https://ddswhu.me/ % Homepage: https://ddswhu.me/
% Email: elegantlatex2e@gmail.com % Email: elegantlatex2e@gmail.com
@@ -8,7 +7,6 @@
\ProvidesClass{elegantpaper}[2019/04/01 v0.07 ElegantLaTeX Paper class] \ProvidesClass{elegantpaper}[2019/04/01 v0.07 ElegantLaTeX Paper class]
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\RequirePackage{kvoptions} \RequirePackage{kvoptions}
\RequirePackage{ifthen} \RequirePackage{ifthen}
\RequirePackage{ifxetex} \RequirePackage{ifxetex}
@@ -90,7 +88,12 @@
\RequirePackage[UTF8, scheme=plain]{ctex} \RequirePackage[UTF8, scheme=plain]{ctex}
} }
\RequirePackage[T1]{fontenc} \ifxetex
\RequirePackage{fontenc}
\else
\RequirePackage[T1]{fontenc}
\AtEndOfClass{\RequirePackage{microtype}}
\fi
\RequirePackage{newtxtext} \RequirePackage{newtxtext}
\RequirePackage{newtxmath} \RequirePackage{newtxmath}
@@ -115,14 +118,14 @@
\renewcommand\figurename{} % \renewcommand\figurename{} %
\renewcommand\tablename{}% \renewcommand\tablename{}%
\newcommand\versiontext{}% \newcommand\versiontext{}%
\newcommand\updatetext{}% \newcommand\updatetext{}%
\renewcommand\abstractname{\hspace{2em}} \renewcommand\abstractname{\hspace{2em}}
\setlength{\parindent}{2em} \setlength{\parindent}{2em}
\renewcommand{\abstracttextfont}{\small\sffamily\kaishu\noindent\ignorespaces} \renewcommand{\abstracttextfont}{\small\sffamily\kaishu\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}}}
\newcommand\tabref[1]{{\bfseries ~\ref{#1}}} \newcommand\tabref[1]{{\bfseries ~\ref{#1}}}
\RequirePackage[authoryear]{gbt7714} \RequirePackage[authoryear]{gbt7714}
}{\relax} }{\relax}
\ifdefstring{\ELEGANT@lang}{en}{ \ifdefstring{\ELEGANT@lang}{en}{
\theoremstyle{plain}% default \theoremstyle{plain}% default
@@ -140,12 +143,12 @@
\newtheorem{case}{Case} % \newtheorem{case}{Case} %
\renewcommand*{\proofname}{\normalfont\bfseries Proof}% \renewcommand*{\proofname}{\normalfont\bfseries Proof}%
\newcommand\versiontext{\itshape Version: }% \newcommand\versiontext{\itshape Version: }%
\newcommand\updatetext{\itshape Update: }% \newcommand\updatetext{\itshape Date: }%
\renewcommand{\abstracttextfont}{\sffamily\small\noindent\ignorespaces} \renewcommand{\abstracttextfont}{\sffamily\small\noindent\ignorespaces}
\newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries Keywords: } #1} \newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries Keywords: } #1}
\newcommand\figref[1]{{\bfseries Figure~\ref{#1}}} \newcommand\figref[1]{{\bfseries Figure~\ref{#1}}}
\newcommand\tabref[1]{{\bfseries Table~\ref{#1}}} \newcommand\tabref[1]{{\bfseries Table~\ref{#1}}}
\bibliographystyle{aer} \bibliographystyle{aer}
}{\relax} }{\relax}
\AtBeginEnvironment{verbatim}{\microtypesetup{activate=false}} \AtBeginEnvironment{verbatim}{\microtypesetup{activate=false}}