summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hitszthesis/hitszthesis.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hitszthesis/hitszthesis.sty')
-rw-r--r--macros/latex/contrib/hitszthesis/hitszthesis.sty8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/latex/contrib/hitszthesis/hitszthesis.sty b/macros/latex/contrib/hitszthesis/hitszthesis.sty
index 137d01e272..568a01b14f 100644
--- a/macros/latex/contrib/hitszthesis/hitszthesis.sty
+++ b/macros/latex/contrib/hitszthesis/hitszthesis.sty
@@ -1,5 +1,5 @@
%
-% Copyright (C) 2019-2020 by Jingxuan Yang <yanglatex2e@gmail.com>
+% Copyright (C) 2019-2021 by Jingxuan Yang <yanglatex2e@gmail.com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -7,7 +7,7 @@
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
-% version 2008/05/04 or later.
+% version 2005/12/01 or later.
%
% This work has the LPPL1.3c maintenance status `maintained'.
%
@@ -61,9 +61,9 @@
\SetAlgoSkip{1pt}
\renewcommand{\algocf@captiontext}[2]{\wuhao#1\algocf@typo~\AlCapFnt{}#2} % text of caption
\expandafter\ifx\csname algocf@within\endcsname\relax% if \algocf@within doesn't exist
- \renewcommand\thealgocf{\@arabic\c@algocf} % and the way it is printed
+\renewcommand\thealgocf{\@arabic\c@algocf} % and the way it is printed
\else% else
- \renewcommand\thealgocf{\csname the\algocf@within\endcsname-\@arabic\c@algocf}
+\renewcommand\thealgocf{\csname the\algocf@within\endcsname-\@arabic\c@algocf}
\fi
\renewcommand{\algocf@makecaption}[2]{%中英文双标题一定多于一行,因此去掉单行时的判断,并将\parbox中标题设置为居中
\addtolength{\hsize}{\algomargin}%