6

Using the newtxmath package with beamer produces wrong output for the \hat{} command. I don't see the problem in the article mode. Also, using alternative packages such as times cause no problems. I am using TeX Live with kile under Linux Mint 14KDE.

\documentclass[handout,utf8]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{newtxtext}
\usepackage{newtxmath}

\begin{document}

\begin{frame}
$\hat{\theta}$
\end{frame}

\end{document}

Any suggestion on how to fix this?

2
  • 6
    Use \usefonttheme{professionalfonts} so that beamer doesn't change the math fonts. Commented Mar 22, 2013 at 11:50
  • @UlrikeFischer: That should be an answer.
    – m0nhawk
    Commented Mar 22, 2013 at 12:41

1 Answer 1

2

[Converting Comment To Answer]

You may use \usefonttheme{professionalfonts} or, equivalently, pass the option [professionalfonts] to beamer:

\documentclass[professionalfonts]{beamer}

so that the Beamer's internals do not rewrite the font schemes used.

You must log in to answer this question.

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