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: josia
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%