xspace
All checks were successful
Build latex and deploy / checkout (push) Successful in 1m12s

This commit is contained in:
Josia Pietsch 2023-11-14 23:13:39 +01:00
parent 26c32ce1bb
commit 32c8b3214b
Signed by: josia
GPG Key ID: E70B571D66986A2D

View File

@ -3,6 +3,7 @@
\RequirePackage{hyperref}
\RequirePackage{amstext}
\RequirePackage{xspace}
\newcommand{\yaref@text@large}[1]{%
\ifcsname yaref@longlabel@#1\endcsname%
@ -44,14 +45,14 @@
{\yaref@math@small{#1}} % script style
{\yaref@math@verysmall{#1}} % scriptscript style
\else%
\yaref@text@large{#1}%
\yaref@text@large{#1}\xspace%
\fi%
}
% Force a small reference
\newcommand{\yarefs}[1]{%
\relax\ifmmode%
\yaref@math@verysmall{#1} % scriptscript style
\yaref@math@verysmall{#1}% scriptscript style
\else%
\yaref@text@small{#1} %
\yaref@text@small{#1}\xspace%
\fi%
}