This question already has an answer here:

The code at the end gives

enter image description here

As you can see, \widehat and \widetilde give good result, but \overline looks bad on some characters, especially for A, I and J. What commands or workarounds can solve this problem, please.

\documentclass[10pt, a4paper]{article}


$ \overline{A} \ \overline{I} \ \overline{J} $ \\
$ \widetilde{A} \ \widetilde{I} \ \widetilde{J} $ \\
$ \widehat{A} \ \widehat{I} \ \widehat{J} $ \\


marked as duplicate by egreg math-mode Jan 31 '16 at 21:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    This question asks for differently sized \overline commands. It might be helpful. – Arun Debray Jan 31 '16 at 18:13

You can use Henrik Vogt's code in an answer to a similar question:



  \let\math@bgroup\@empty \let\math@egroup\macc@set@skewchar
  \mathsurround\z@ \frozen@everymath{\mathgroup\macc@group\relax}%

    \[ \widebar{A}\ \widebar I\ \widebar J\]%
    \[ \widetilde{A}\ \widetilde I\ \widetilde J\]%
    \[ \widehat{A}\ \widehat I\ \widehat J\]%


enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.