[Tex/LaTex] putting equation references in parentheses in Lyx

cross-referencingequationslyx

I am trying to typeset a Latex document in LyX. My equation references are showing up as "Eq. 1 blah blah". I would like for them to have parentheses around the numbers, i.e. show up as "Eq. (1) blah blah". Additionally, I would like this to be only for equations, i.e. I want to continue having "Fig. 1 blah blah", not "Fig. (1) blah blah".

It seems that there is a similar question that has been asked, but that person wanted parentheses around all references, as clarified by the first comment in the question.

How can I do this for just equations only? Ideally some kind of preamble addition that only parenthesizes the equations while not touching any of the other references (Figs, Tables, etc.)

Best Answer

When you add the cross-reference, set (<reference>) as the Format:

enter image description here

For existing cross-references, right click the cross-reference and select the same format:

enter image description here

Related Question