add parentheses to yaref

This commit is contained in:
Josia Pietsch 2023-07-28 19:12:44 +02:00
parent 9d1d53877a
commit a3b5b209ce
Signed by: jrpie
GPG key ID: E70B571D66986A2D

View file

@ -6,7 +6,7 @@
\newcommand{\yaref@text@large}[1]{%
\ifcsname yaref@longlabel@#1\endcsname%
\hyperref[#1]{\csname yaref@longlabel@#1\endcsname\ \ref*{#1}}%
\hyperref[#1]{\csname yaref@longlabel@#1\endcsname\ (\ref*{#1})}%
\else%
\autoref{#1}%
\fi%