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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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