This commit is contained in:
parent
26c32ce1bb
commit
32c8b3214b
1 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
\RequirePackage{hyperref}
|
\RequirePackage{hyperref}
|
||||||
\RequirePackage{amstext}
|
\RequirePackage{amstext}
|
||||||
|
\RequirePackage{xspace}
|
||||||
|
|
||||||
\newcommand{\yaref@text@large}[1]{%
|
\newcommand{\yaref@text@large}[1]{%
|
||||||
\ifcsname yaref@longlabel@#1\endcsname%
|
\ifcsname yaref@longlabel@#1\endcsname%
|
||||||
|
@ -44,14 +45,14 @@
|
||||||
{\yaref@math@small{#1}} % script style
|
{\yaref@math@small{#1}} % script style
|
||||||
{\yaref@math@verysmall{#1}} % scriptscript style
|
{\yaref@math@verysmall{#1}} % scriptscript style
|
||||||
\else%
|
\else%
|
||||||
\yaref@text@large{#1}%
|
\yaref@text@large{#1}\xspace%
|
||||||
\fi%
|
\fi%
|
||||||
}
|
}
|
||||||
% Force a small reference
|
% Force a small reference
|
||||||
\newcommand{\yarefs}[1]{%
|
\newcommand{\yarefs}[1]{%
|
||||||
\relax\ifmmode%
|
\relax\ifmmode%
|
||||||
\yaref@math@verysmall{#1} % scriptscript style
|
\yaref@math@verysmall{#1}% scriptscript style
|
||||||
\else%
|
\else%
|
||||||
\yaref@text@small{#1} %
|
\yaref@text@small{#1}\xspace%
|
||||||
\fi%
|
\fi%
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue