The user daleif has posted a nice approach on how to increase equation numbers when using subequations
.
Minimum Working Example (MWE):
\documentclass{scrbook}
\usepackage{amsmath}
\newcommand\StepSubequations{
\stepcounter{parentequation}
\gdef\theparentequation{\arabic{parentequation}}
\setcounter{equation}{0}
}
\begin{document}
First, some normal equation:
\begin{equation}
content...
\end{equation}
And in following the subequations:
\begin{subequations}
\begin{align}
1 &= 1\\
2 &= 2\\
\StepSubequations
3 &= 3\\% from here a new equation number should begin
4 &= 4
\end{align}
\end{subequations}
\begin{equation}
\label{eq:1}
a=b
\end{equation}
\end{document}
Screenshot of the result:
Description of the issue:
As you can see, scrbook
uses a custom numbering scheme like chapternumber.equationnumber
. With the counter modification from daleif this does not work unfortunately.
Is there an option available to consider the common scrbook
numbering scheme in subequations
as well?
In the upper example the subequation numbers should appear like:
0.2a
, 0.2b
, 0.3a
and 0.3b
to match the numbering scheme of scrbook
.