-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove `thechapter` prefix of `thesection` - use `section.subsection.equation` style for `math` major `equation` style - update to v1.2.0
- Loading branch information
1 parent
1aba6c6
commit 2504d17
Showing
6 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\renewcommand{\thefigure}{\arabic{figure}} | ||
\renewcommand{\thetable}{\arabic{table}} | ||
\AtBeginDocument{\renewcommand{\thelstlisting}{\arabic{lstlisting}}} | ||
\renewcommand*{\thesection}{\arabic{section}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
\input{config/format/major/math/packages} | ||
\input{config/format/major/math/numbering} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\numberwithin{equation}{section}% reset equation counter for sections | ||
\numberwithin{equation}{subsection} | ||
|
||
% Omit `.0` in equation numbers for non-existent subsections. | ||
\renewcommand*{\theequation}{% | ||
\ifnum\value{subsection}=0 % | ||
\thesection | ||
\else | ||
\thesubsection | ||
\fi | ||
.\arabic{equation}% | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
\usepackage{amsmath} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
\newcommand{\zjuthesisversion}{1.1.0} | ||
\newcommand{\zjuthesisversion}{1.2.0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters