Skip to content

Commit

Permalink
fix the names of appendix sections
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyxi committed May 16, 2022
1 parent 526d240 commit fa4de07
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions whut-bachelor.cls
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@
% fixskip = true,
% beforeskip = 0.5\baselineskip,
% afterskip = 0.5\baselineskip,
},
appendix = {
name = 附录,
}
}

Expand Down Expand Up @@ -333,9 +336,9 @@
\let\@appendix\appendix
\renewcommand\appendix{\par
\@appendix
\gdef\thesection{\appendixname\@Alph\c@section}
\gdef\thesubsection{\Alph{section}.\@arabic\c@subsection}
\gdef\thesubsubsection{\Alph{section}.\arabic{subsection}.\@arabic\c@subsubsection}
% \gdef\thesection{\appendixname\@Alph\c@section} % defined in ctexsetup
\gdef\thesubsection{\appendixname\Alph{section}\@arabic\c@subsection}
\gdef\thesubsubsection{\appendixname\Alph{section}\arabic{subsection}.\@arabic\c@subsubsection}
% \ifwhut@options@minimal\else\tikzexternaldisable\fi
\let\@appendix\relex
}
Expand Down Expand Up @@ -428,7 +431,7 @@
\newcommand*{\whut@cap@indexname}{索引}
\newcommand*{\whut@cap@figurename}{图}
\newcommand*{\whut@cap@tablename}{表}
\newcommand*{\whut@cap@appendixname}{附录}
\newcommand*{\whut@cap@appendixname}{}
\newcommand*{\whut@cap@acknowledgement}{致~~谢}

\newcommand*{\whut@cap@conjecture}{猜想}
Expand Down

0 comments on commit fa4de07

Please sign in to comment.