# Thread: vector arrow atop two characters

1. ## vector arrow atop two characters

I'd like to create a symbol for a vector that uses two letters-- one each for its initial and terminal points, such as "PQ" with a vector arrow stretching atop both letters. \vec seems to allow only one symbol; something like \overline{PQ} is similar to what I want, but puts a line, not an arrow over "PQ". There doesn't seem to be an \overvec command. How to do this? Thanks for any help!

2. Originally Posted by JBM
I'd like to create a symbol for a vector that uses two letters-- one each for its initial and terminal points, such as "PQ" with a vector arrow stretching atop both letters. \vec seems to allow only one symbol; something like \overline{PQ} is similar to what I want, but puts a line, not an arrow over "PQ". There doesn't seem to be an \overvec command. How to do this? Thanks for any help!
\overrightarrow{PQ}

$\overrightarrow{PQ}$