Document Classes ⇒ Subequations Question
Subequations Question
I am using the "report" style. The equations are number "Chapter.Equation", and are reset at the beginning of every chapter. For example "(1.1), (1.2), etc...", then "(2.1), (2.2), etc...". This is perfectly fine.
I want to use sub-equations. The numbers associated with the sub-equations now appear as "(3.3)a, (3.3)b, etc...". What should I do to get the sub-equations numbers to appear as "(3.3a), (3.3b), etc...".
Thank you very much...
Hanibal
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Subequations Question
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Subequations Question
Please find the MWE attached...
Thanks,
- Attachments
-
- SubequationsProblem_MWE.tex
- (1.31 KiB) Downloaded 467 times
Hanibal
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Subequations Question
Code: Select all
% ====================================================================% ====================================================================\makeatletter\def\tagform@#1{\maketag@@@{\ignorespaces#1\unskip\@@italiccorr}}\let\orgtheequation\theequation% The parentheses are included below\def\theequation{(\orgtheequation)}\makeatother
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Subequations Question
However, I still need this redefinition of the equation tag. The reason is to get the "\autoref" function to reference equations with the equation number between paranthesis.
With the removal of this code, the equations are number as "(1.1a)" and "(1.1b)", but they are referenced as "Equation 1.1a" (using \Autoref) and Eq. 1.1b (using \autoref)...
How can we accomplish both goals?
Thanks again...
Hanibal
Re: Subequations Question
Regards,
B.A.
Re: Subequations Question
I tried using the mathtools package but still things did not work. I am wondering if we need to redefine the equation and subequation tags all over...
Thanks,
Hanibal