x with an arrow above it (for vector notation)

• Apr 15th 2011, 03:37 AM
hmmmm
x with an arrow above it (for vector notation)
how to I get an x with an arrow above it e.g. $x^{\rightarrow}$ but with the x actually above it.

Thanks for any help
• Apr 15th 2011, 04:47 AM
Opalg
Quote:

Originally Posted by hmmmm
how to I get an x with an arrow above it e.g. $x^{\rightarrow}$ but with the x actually above it.

Thanks for any help

\vec{x}: $\vec{x}$
• Apr 15th 2011, 05:14 AM
Soroban
Hello, hmmmm!

Quote:

How do I get an x with an arrow above it?

As Opalg suggested, we can use \vec v: . $\vec v$

For larger expressions, we can use \overrightarrow{AB}: . $\overrightarrow{AB}$

• Apr 15th 2011, 06:47 AM
hmmmm
Thanks very much (don't know what happened to my expression)
• Apr 15th 2011, 08:18 AM
Opalg
Quote:

Originally Posted by hmmmm
(don't know what happened to my expression)

Not your fault. The MHF TeX compiler is in fail mode at the moment.