LaTeX Nonsequential Numbering of Subequations in LaTeX

  • Thread starter Thread starter ams2990
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

The forum discussion addresses the need for nonsequential numbering of subequations in LaTeX. Users can achieve this by manipulating counters using the commands \addtocounter and \setcounter, specifically for the equation counter \theequation and the subequation counter \thesubequation. The discussion emphasizes the flexibility of defining new environments and counters to meet specific numbering requirements. Resources such as Wikibooks and Texblog provide additional guidance on advanced LaTeX counter management.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of LaTeX equation environments
  • Knowledge of LaTeX counter manipulation
  • Basic skills in defining custom LaTeX environments
NEXT STEPS
  • Research how to define custom counters in LaTeX
  • Learn about the \addtocounter and \setcounter commands in LaTeX
  • Explore advanced LaTeX topics on Wikibooks
  • Investigate the use of environments for complex equation numbering
USEFUL FOR

LaTeX users, mathematicians, and researchers who require precise control over equation numbering in their documents.

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
Why?
 
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:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K