[Tex/LaTex] Equations, autoref and parenthesis


In a document at my workplace, \autoref is redefined in the following way:


I suppose this is important because it probably means that I cannot just overwrite \equationautorefname.

For equations, this results in something like "Equation (5.1)". The parenthis are fine when they are shown next to the equation, but in the text we want them to be displayed without the parenthesis.

How can I achieve this?

Best Answer

The presence of \cref in your question suggests the use of cleveref; in this case, use \crefformat to (re)format how the aspect of the cross-reference should be:





a = b.


enter image description here

\textup makes sure the equation number will always be upright.

By the way, instead of redefining \autoref, it would be better perhaps to define your own new command.

Related Question