summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/stackrel.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/stackrel.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/stackrel.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/stackrel.sty b/Master/texmf-dist/tex/latex/oberdiek/stackrel.sty
index a6cf3ac5131..d5fde1b2825 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/stackrel.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/stackrel.sty
@@ -28,11 +28,12 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{stackrel}
- [2007/05/06 v1.1 Adding subscript option to stackrel (HO)]%
-\RequirePackage{etexcmds}
+ [2007/11/11 v1.2 Adding subscript option to stackrel (HO)]%
+\RequirePackage{etexcmds}[2007/09/09]
\ifetex@unexpanded
+ \RequirePackage{pdftexcmds}[2007/11/11]%
\begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname pdfstrcmp\endcsname\relax
+ \expandafter\ifx\csname pdf@strcmp\endcsname\relax
\newcommand*{\stack@relbin}[3][]{%
\mathop{#3}\limits
\edef\reserved@a{\etex@unexpanded{#1}}%
@@ -44,8 +45,8 @@
\else
\newcommand*{\stack@relbin}[3][]{%
\mathop{#3}\limits
- \ifcase\pdfstrcmp{\detokenize{#1}}{}\else_{#1}\fi
- \ifcase\pdfstrcmp{\detokenize{#2}}{}\else^{#2}\fi
+ \ifcase\pdf@strcmp{\detokenize{#1}}{}\else_{#1}\fi
+ \ifcase\pdf@strcmp{\detokenize{#2}}{}\else^{#2}\fi
\egroup
}%
\fi