diff options
author | Karl Berry <karl@freefriends.org> | 2009-11-18 17:25:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-11-18 17:25:44 +0000 |
commit | b45e183ec86160a105964fe8e37807edbd3f65ba (patch) | |
tree | 70e73e121a2d984dfac84aa065043c44debafe3f /Master/texmf-dist/tex/latex/extpfeil | |
parent | c3de437556742e824b29169bc586b2a1645a15fb (diff) |
extpfeil 0.4 (31oct09)
git-svn-id: svn://tug.org/texlive/trunk@16066 c570f23f-e606-0410-a88d-b1316a301751
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} |