3

For example, a math equation is labelled using \label{my_equation}

Then I refer to it later using \ref{my_equation}

However, what I get is just a number say 11, instead of what is more mainstream which is (11) i.e. the equation number with brackets around it

Do I must put brackets manually every time or is that some way to hard code this?

Fraïssé
  • 3,139

1 Answers1

6

\eqref from amsmath adds () automatically.

More generally it adds whatever punctuation has been specified to be used in the label, so consistency is maintained even if you change the style.

David Carlisle
  • 757,742