I am using TeXstudio with MiKTeX. I am new to LaTeX but have the standard packages like Amsmath.
I would like to have the following numbering scheme for my equations
eq 1
eq 2
eq 3a
eq 3b
eq 3c
eq 4
eq 5
Where I have interrupted the normal sequential counting with 3a, 3b, and 3c, but the sequence resumed with eq 4 afterward. Furthermore, I would like to do this in an automated fashion, i.e. if I go back and insert another equation
eq 1
eq 2
<---insert new equation
eq 3a
eq 3b
eq 3c
eq 4
eq 5
then the numbering scheme will automatically update to
eq 1
eq 2
eq 3
eq 4a
eq 4b
eq 4c
eq 5
eq 6
Is there a way to do this, or a reference I can read about how to do this? Thanks!
Edit solved
as per the comment, I used subequations.
\begin{subequations}[eq:sp]
\begin{align}
equation math \label{eq:spa}\\
equation math \label{eq:spb}\\
equation math \label{eq:spc}
\end{align}
\end{subequations}
worked for me. The "sp" was arbitrary; it seems to be a tag for the remaining subequations.
This post was helpful.