I would like to combine, somehow, \vec{x}
and \dot{x}
so that I get an x with a vector arrow over it and a dot over that. Any suggestions?
[Tex/LaTex] How to get a dot over a vector
accentsmath-mode
accentsmath-mode
I would like to combine, somehow, \vec{x}
and \dot{x}
so that I get an x with a vector arrow over it and a dot over that. Any suggestions?
Best Answer
How about the obvious, i.e.
$\dot{\vec{a}}$
? Spacing is a little off... which could be fixed by using theesvect
package (for vectors in general) and using:Result using first solution is on left hand side, using
esvect
is on right hand side:UPDATE:
I added a little solution of my own which has good spacing and uses the normal
latex
vector arrow [but requires theaccents
package]. This can be obtained using the command\DotVec
(no need for an additional\vec
; code:I created a document for comparing my solution, the "plain"
latex
solution and @Eddy_Em's [I hope that's okay?] solution. Code is:Resulting document:
Zoom for letter
a
: