How do you skip subequation labels in LaTeX?

  • Context: LaTeX 
  • Thread starter Thread starter ams2990
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 10K views
ams2990
Messages
11
Reaction score
0
I am trying to get subequations numbered nonsequentially. I have
Code:
\begin{subequations}
	\begin{equation}
		...
	\end{equation}
	\begin{equation}
		...
	\end{equation}
\end{subequations}
which gives me

Code:
(1a) ...
(1b) ...
Instead, I want (1c) instead of (1b). I have no clue whether this is trivial or requires me to use a different subequation method all together, I don't know. Any suggestions are acceptable, provided I am able to use it interchangeably with non-subequations, such as (1a),(1c),(2),(3),(4e),(4g),...
 
Physics news on Phys.org
It's not quite clear exactly what you want and why you want it - but you can probably do what you want by either making the occasional change to a counter or by defining a new environment and counter that counts the way you want.

To increment a counter, you use \addtocounter{\thecounter}{value}
To set a counter you use \setcounter{\thecounter}{value}

The counter for equations is \theequation and the counter for subequation is \thesubequation.

http://en.wikibooks.org/wiki/LaTeX/Advanced_Topics
http://texblog.wordpress.com/2007/07/25/counters-in-latex/
 
Last edited by a moderator: