39

I'm doing a presentation for a lay audience and I was hoping to have an arrow above the word "dim" to differentiate the dimension vector from the dimension generally. However, $\xrightarrow{dim}$ puts the arrow in the centre (as one would have for a map) which makes the dim small and doesn't look good. So is there an arrow which works like a $\widehat{dim}$ but with an arrow instead of a hat?

P.S. The text I'm using just uses an underline but I feel it isn't noticeable enough. Likewise I could just use the hat perhaps but I think an arrow is more intuitive (it was how we denoted vectors at my highschool). However, I will also accept other ways of differentiating.

1 Answer 1

48

You could use \overrightarrow:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
 \overrightarrow{\dim} , \quad \overrightarrow{\text{dimension}}
\]
\end{document}

dim with extensible arrow above

This and further alternatives can be found at the LaTeX-Community forum in the topic Extended Vector Arrow. So there are nice arrows with esvect:

\documentclass{article}
\usepackage{amsmath}
\usepackage{esvect}
\begin{document}
\[
 \vv{\dim} , \quad \vv{\text{dimension}}
\]
\end{document}

esvect example

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .