DEV Community

latexteada
latexteada

Posted on

LaTeX Cross Referencing: How to call elements?

Hello hello, how are you today?

In my last post I told you how to label the elements and I give you some conventions to refer those elements and avoid creating long names, in this post I tell you how to call those elements that you have labeled

We have different ways to call those elements

  • \ref{name} displays the number of the element which label name is name
  • \pageref{name} displays the number of the page where the element, which label name is name, is located

In some post I will write about maths in LaTeX, and as I have said, you can refer equations too. To do this you can use either \ref{name} or

  • \eqref{name} to display the number of the equation in brackets

Examples

primero

And you get

Screenshot from 2021-06-06 11-08-18

And

primero

And you get

Screenshot from 2021-06-06 11-10-58

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay