Is possible to surround a cross-reference with brackets or parentheses? For example when I write a command like some text \ref{some label}
then when compiled the output was some text (12) without manually placing parentheses in latex command, like some text (\ref{some label})
.
[Tex/LaTex] Place parentheses around a cross-reference
cross-referencinghyperref
Best Answer
You could renew the reference command, perhaps something like:
Here's a complete MWE to play with:
Note: as mentioned by @Mico, this solution isn't compatible with
hyperref
package.