Skip to content

Commit

Permalink
fix numbering for appendix
Browse files Browse the repository at this point in the history
  • Loading branch information
weiquanmao committed Feb 23, 2022
1 parent f4f4b8a commit 4359e58
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions buaa.cls
Original file line number Diff line number Diff line change
Expand Up @@ -937,12 +937,12 @@
\gdef\thesubsection{\@Alph\c@section.\@arabic\c@subsection}%
%

\renewcommand{\thefigure}{A\arabic{figure}}
\setcounter{figure}{0}
\renewcommand{\thetable}{A\arabic{table}}
\setcounter{table}{0}
\renewcommand{\theequation}{A\arabic{equation}}
\setcounter{equation}{0}
\renewcommand{\thefigure}{\thesection\arabic{figure}}
\numberwithin{figure}{section}
\renewcommand{\thetable}{\thesection\arabic{table}}
\numberwithin{table}{section}
\renewcommand{\theequation}{\thesection\arabic{equation}}
\numberwithin{equation}{section}
}
\newcommand{\achievement}{%学术成果
\ctexset{chapter/numbering=false}
Expand Down

0 comments on commit 4359e58

Please sign in to comment.