fix the caption

This commit is contained in:
EthanDeng
2019-02-06 10:02:36 +08:00
parent e71f9dc6a9
commit 3d2333b883
5 changed files with 9 additions and 6 deletions

View File

@@ -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}