diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/extpfeil')
-rw-r--r-- | Master/texmf-dist/tex/latex/extpfeil/extpfeil.sty | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/extpfeil/extpfeil.sty b/Master/texmf-dist/tex/latex/extpfeil/extpfeil.sty index 109e3ec8bcc..2aad8a58054 100644 --- a/Master/texmf-dist/tex/latex/extpfeil/extpfeil.sty +++ b/Master/texmf-dist/tex/latex/extpfeil/extpfeil.sty @@ -34,7 +34,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2003/12/01] \ProvidesPackage{extpfeil} - [2006/07/27 v0.3 Extensible Pfeile (PE)] + [2009/10/31 v0.4 Extensible Pfeile (PE)] \RequirePackage{amsmath} \RequirePackage{amssymb} \RequirePackage{mathtools} @@ -55,11 +55,34 @@ \settoheight{\dimen@}{=}% \advance\dimen@ by 1pt\relax \mathrel{% - \hphantom{\vbox{\hbox{$#1$}\hbox{$#2$}}}% - \mathllap{\raisebox{0.22\dimen@}[0pt][0pt]{$#1$}}% - \mathllap{\raisebox{-0.22\dimen@}[0pt][0pt]{$#2$}}% + \hphantom{\vbox{\hbox{$\m@th #1 $}\hbox{$\m@th #2 $}}}% + \mathllap{\raisebox{0.22\dimen@}[0pt][0pt]{$\m@th #1 $}}% + \mathllap{\raisebox{-0.22\dimen@}[0pt][0pt]{$\m@th #2 $}}% + }% +}% +\newcommand*{\bigtwoarrowsleft}[3][5pt]{% + \setlength{\dimen@}{#1}% + \mathrel{% + \mathrlap{\raisebox{0.5\dimen@}{$\m@th #2 $}}% + \mathrlap{\raisebox{-0.5\dimen@}{$\m@th #3 $}}% + \hphantom{\vbox{\hbox{$\m@th #2 $}\hbox{$\m@th #3 $}}}% + }% +}% +\newcommand*{\bigtwoarrowsright}[3][5pt]{% + \setlength{\dimen@}{#1}% + \mathrel{% + \hphantom{\vbox{\hbox{$\m@th #2 $}\hbox{$\m@th #3 $}}}% + \mathllap{\raisebox{0.5\dimen@}{$\m@th #2 $}}% + \mathllap{\raisebox{-0.5\dimen@}{$\m@th #3 $}}% }% }% +\newcommand*{\bigRelbar}[1][5pt]{ + \setlength{\dimen@}{#1}% + \mathrel{% + \mathrlap{\raisebox{0.5\dimen@}{$\m@th \relbar $}}% + \raisebox{-0.5\dimen@}{$\m@th \relbar$}% + }% +} \newextarrow{\xtwoheadrightarrow} {05{40}0} {\relbar\relbar\twoheadrightarrow} |