Apologies for the cryptic title, but I was not sure how best to phrase the question in one sentence. I am essentially trying the create a vector symbol with \rightharpoonup as the top instead of the arrow.

The output to the following code will feature an overset harpoon over x, next to a simple \bar{x}. Observe that on the left, the top symbol is significantly higher and bigger than on the right one.




\vect{x} \quad \bar{x}

I would like to create something that looks in every way like the right hand symbol, except using something that looks like \rightharpoonup at the top.

If this command sequence already exists in LaTeX, please use that as an answer, because I have searched for and failed to find it so far.


1 Answer 1


This is a clear case for \accentset from the accents package:


  • 1
    I have no idea how I would have discovered that package without prior knowledge, but this definitely solves the problem!
    – merlin2011
    Commented Jan 31, 2013 at 9:38

You must log in to answer this question.

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