summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fragments/overrightarrow.sty
blob: 59d89ad0e9a8880a0176520fd58c7e684ca221aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
% This is overrightarrow.sty, It provides for a command:
% \Overrightarrow which is somewhat like \overrightarrow and somewhat
% like \Rightarrow.  Also a couple of helper commands.
% This file is public domain.
% James Kilfiger mapdn@csv.warwick.ac.uk
%
\newcommand\reldoublebar{\mathrel{\smash=}}
\newcommand{\Rightarrowfill@}[1]{%
\m@th \setboxz@h {$#1\reldoublebar $}\ht \z@ \z@ 
$#1\copy \z@ 
\mkern -6mu\cleaders \hbox {$#1\mkern -2mu\box \z@ \mkern -2mu$}\hfill 
\mkern -6mu
\mathord \Rightarrow $}
\newcommand{\Overrightarrow}{\mathpalette{\overarrow@\Rightarrowfill@}}