General ⇒ Appending text to equation numbers
Appending text to equation numbers
I'm fussy, so:
1. I'd like to get this working with automatic numbering to facilitate referencing
2. The prefix needs to show up both in the equation itself and in subsequent references to the equation
3. It needs to work with both equation and eqnarray, so simply defining a new version of "equation" won't do the trick
This probably requires getting into the base-level formatting (especially to satisfy #3), and I can't seem to track down info on how to handle this. Any help is most appreciated.
Thanks,
Dave
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Appending text to equation numbers
Anyway, in case anyone else stumbles upon this looking for the solution:
\renewcommand{\theequation}{S.\arabic{equation}}
Putting this in the preamble solves the issue. Ridiculously simple.
Cheers,
Dave