Math & Science ⇒ Referencing Equation
Referencing Equation
Lets say that I have an equation with \label{eq:eq1}. When I refer to this equation in my text I do it like this: "see equation \eqref{eq:eq1}". Since I know that I am always going to need the word equation before the \eqref, how can I make it part of the reference itself? So that I can say: "see \eqref{eq:eq1}" and then \eqref will put "equation (1)" instead of just "(1)". I hope my question is clear and I want to thank you in advance for helping me out. I appreciate all the help.
Thanks
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
Referencing Equation
The command you are looking for is
Code: Select all
\autoref{}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Referencing Equation
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10