Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When using

$\hat{a}$

in LaTeX, the hat is actually aligned slightly left of the a's true head… Is there any common way to fix this?

As I think that this is a common issue, I didn't screenshot it, but if you want, let me know.

share|improve this question

1 Answer 1

Starting point for comparison:

\documentclass{article}
\begin{document}
  $\hat a$
\end{document}

Result

The centering is better with other math fonts like mathptm:

\documentclass{article}
\usepackage{mathptmx}
\begin{document}
  $\hat a$
\end{document}

Result

\documentclass{article}
\usepackage{mathpazo}
\begin{document}
  $\hat a$
\end{document}

Result

Another variant is using the symbol from a text font, e.g. lmodern that matches the standard Computer Modern fonts for math:

\documentclass{article}
\usepackage[T1]{fontenc} 
\usepackage{lmodern} 
\begin{document}
  $\textit{\^a}$
\end{document}

Result

share|improve this answer
    
they all seem very fine. I'm currently using the beamer-class. So perhaps I should just change the font… –  Vincent Dec 9 '12 at 18:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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