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
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
- 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 481 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