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}
} }
\ifxetex
\RequirePackage{fontenc}
\else
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
\AtEndOfClass{\RequirePackage{microtype}}
\fi
\RequirePackage{newtxtext} \RequirePackage{newtxtext}
\RequirePackage{newtxmath} \RequirePackage{newtxmath}
@@ -115,7 +118,7 @@
\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}
@@ -140,7 +143,7 @@
\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}}}