Text Formattingnew function for references

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
thorpn
Posts: 53
Joined: Mon Jul 30, 2012 7:30 pm

new function for references

Post by thorpn »

I am currently using the "\eqref{my_equation}" alot, however i almost always go on after this to write "section \ref{equations_section}". Is it possible for me to define a new function which does this for me and only takes the equations label as input ? (would save me alot of time when writting) ? or is it necesary to have the section(or subsection or whatever) as input also for such a section ?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

thorpn
Posts: 53
Joined: Mon Jul 30, 2012 7:30 pm

new function for references

Post by thorpn »

Also, since i have started a post anyway.

Howcome i get a warning for this:

Code: Select all

$$
P:Delm \ae ngde(E) \mapsto R
$$
?
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

new function for references

Post by svend_tveskaeg »

A MWE is necessary.

PS. Don't use $$ ... $$ for math expressions. Use \begin{equation} ... \end{equation} (or similar) instead.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
Post Reply