Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LaTeX Subequation

  1. Sep 5, 2010 #1
    I am trying to get subequations numbered nonsequentially. I have
    Code (Text):
    which gives me

    Code (Text):
    (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),...
  2. jcsd
  3. Sep 5, 2010 #2


    User Avatar
    Staff Emeritus
    Science Advisor

  4. Sep 5, 2010 #3
    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 [Broken]
    Last edited by a moderator: May 4, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook