diff --git a/elegantpaper-cn.pdf b/elegantpaper-cn.pdf index 4a78abf..d50fb6b 100644 Binary files a/elegantpaper-cn.pdf and b/elegantpaper-cn.pdf differ diff --git a/elegantpaper-cn.tex b/elegantpaper-cn.tex index 63c34bd..5a8ece5 100644 --- a/elegantpaper-cn.tex +++ b/elegantpaper-cn.tex @@ -5,7 +5,7 @@ \author{\href{https://ddswhu.me/}{邓 东 升}\thanks{感谢 Peiyi Yao 的帮助与建议。}} \institute{\href{https://elegantlatex.org/}{Elegant\LaTeX{} 项目组}} -\version{0.05} +\version{0.05x} \date{\today} diff --git a/elegantpaper-en.pdf b/elegantpaper-en.pdf index 1222090..185dbc3 100644 Binary files a/elegantpaper-en.pdf and b/elegantpaper-en.pdf differ diff --git a/elegantpaper-en.tex b/elegantpaper-en.tex index 92c1bf2..2a77273 100644 --- a/elegantpaper-en.tex +++ b/elegantpaper-en.tex @@ -4,7 +4,7 @@ \title{ElegantPaper: An Elegant \LaTeX{} Template for Working Papers} \author{\href{https://ddswhu.me/}{Dongsheng Deng}\thanks{Thanks Peiyi Yao for good suggestions.}} \institute{\href{https://github.com/ElegantLaTeX}{Elegant\LaTeX{} Program}} -\version{0.05} +\version{0.05x} \date{\today} diff --git a/elegantpaper.cls b/elegantpaper.cls index b2c6791..1bd0301 100644 --- a/elegantpaper.cls +++ b/elegantpaper.cls @@ -145,11 +145,13 @@ \renewcommand\figurename{图} % \renewcommand\tablename{表}% \newcommand\versiontext{版本:}% - \newcommand\updatetext{最后更新:}% + \newcommand\updatetext{更新:}% \renewcommand\abstractname{摘\hspace{2em}要} \setlength{\parindent}{2em} \renewcommand{\abstracttextfont}{\kaishu\sffamily\small} \newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries 关键词: } #1} + \newcommand\figref[1]{{\bfseries 图~\ref{#1}}} + \newcommand\tabref[1]{{\bfseries 表~\ref{#1}}} }{\relax} \ifdefstring{\ELEGANT@lang}{en}{ \theoremstyle{plain}% default @@ -167,9 +169,11 @@ \newtheorem{case}{Case} % \renewcommand*{\proofname}{\normalfont\bfseries\color{ecolor}Proof}% \newcommand\versiontext{Version: }% - \newcommand\updatetext{Last update: }% + \newcommand\updatetext{Update: }% \renewcommand{\abstracttextfont}{\sffamily\small} \newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries Keywords: } #1} + \newcommand\figref[1]{{\bfseries Figure~\ref{#1}}} + \newcommand\tabref[1]{{\bfseries Table~\ref{#1}}} }{\relax} \AtBeginEnvironment{verbatim}{\microtypesetup{activate=false}} @@ -246,8 +250,7 @@ -\newcommand\figref[1]{{\bfseries Figure~\ref{#1}}} -\newcommand\tabref[1]{{\bfseries Table~\ref{#1}}} + \RequirePackage{listings}