Accents in LaTeX

Accents are widely used to denote the alphabet with its desired sound. They are beneficial when writing sanskrit words in English or when writing language such as French which have various accents. But our keyboard is unable to draw them directly so we employ the LaTex codes to draw them.

Accents and their LaTeX Code :

Accent SYMBOL LaTex code
Hat on x \hat{x} \hat{x}
Inverted hat on x \check{x} \check{x}
Breve on x \breve{x} \breve{x}
Acute \acute{x} \acute{x}
Grave \grave{x} \grave{x}
Tilde \tilde{x} \tilde{x}
Bar \bar{x} \bar{x}
Vector \vec{x} \vec{x}
Dot \dot{x} \dot{x}
Double dot \ddot{x} \ddot{x}
Overline \overline{x} \overline{x}
Underline \underline{x} \underline{x}

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.