From 32c8b3214bd17539faf339756851c8fdcd377173 Mon Sep 17 00:00:00 2001 From: Josia Pietsch Date: Tue, 14 Nov 2023 23:13:39 +0100 Subject: [PATCH] xspace --- jrpie-yaref.sty | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jrpie-yaref.sty b/jrpie-yaref.sty index d7cad52..d7347cd 100644 --- a/jrpie-yaref.sty +++ b/jrpie-yaref.sty @@ -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% }