to put the double arrow on top of a variable, say T, in this way:
\stackrel{\Rightarrow}{T}
but I don't think this is the correct method. If the variable is more
than one character, the arrow's length isn't adjusted, eg
\stackrel{\Rightarrow}{T_{i,n}}
Actually, I would expect something similar to writing a vector, ie
\overrightarrow{T_{i,n}}
but I don't know the magic word to replace "overrightarrow" :-)
Thanks in advance.
Seak
I'm sure someone has done this and put it in a package somewhere.
but you can define a macro in a personal style file (ie save this as
overRightarrow.sty, and load it with usepackage.)
\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@}}
You use the command \overRightarrow{T(p,q,r)}
James
OK, thanks a lot. It works :-)
Actually, I later on found out that there're rightarrow and Rightarrow,
longrightarrow and Longrightarrow, and similar words for left arrows.
Capitalized words means double arrows. By extrapolation, I tried
Overrightarrow but it didn't work. What a shame :-(
I'm wondering how latex is standardized nowadays. It would be very
natural to have Overrightarrow as a standard without users redefining
their own macros. I'm using tetex distribution. Or is this already in
latex but not yet in tetex?
> I'm wondering how latex is standardized nowadays. It would be very
>natural to have Overrightarrow as a standard without users redefining
>their own macros. I'm using tetex distribution. Or is this already in
>latex but not yet in tetex?
This is more-or-less an oxymoron, as teTeX includes LaTeX.
There are thousands of LaTeX packages,
many of which are not included in teTeX or any TeX distribution.
In your case, the obvious package would be amsmath
(which is in teTeX and every TeX distribution).
You can find documentation for this (and other packages)
by "netscape .../texmf/doc/".
I'm not quite sure exactly what you are trying to do,
but it might be worth looking at the @>>> command in amsmath.
--
Timothy Murphy
e-mail: t...@maths.tcd.ie
tel: +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
James