> Seak>      Finally, few weeks ago I asked in the website's "feedback"
> Seak> section how to "draw" tensor (ie like a vector but with double
> Seak> arrow on top). Have you received this? If it's not available in
> Seak> current version, will it be in the future?
>
> I did not answer because I do not know the answer. Presumably amsmath
> provides such a macro, and if it does, you should be able to use it
> with LyX. However I do not know the specifics.

     Someone sent this to me to tell me how to write a tensor.  As I'm
not a real latex user, I can't say I understand what to do.  Could you,
the developpers of LyX, take a look at this to see if this can be
implemented in LyX?  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



Reply via email to