Skip to content

Commit

Permalink
Update figure & table & equation numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetAdmin committed May 14, 2018
1 parent 2504d17 commit 213d18e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions config/format/general/numbering.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}
\AtBeginDocument{\renewcommand{\thelstlisting}{\arabic{lstlisting}}}
\renewcommand*{\thesection}{\arabic{section}}

\renewcommand{\thefigure}{\thesection.\arabic{figure}}
\renewcommand{\thetable}{\thesection.\arabic{table}}
\AtBeginDocument{\renewcommand{\thelstlisting}{\thesection.\arabic{lstlisting}}}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
2 changes: 1 addition & 1 deletion config/version.tex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\newcommand{\zjuthesisversion}{1.2.0}
\newcommand{\zjuthesisversion}{1.2.1}

0 comments on commit 213d18e

Please sign in to comment.