I'm typesetting beamer with XeLaTeX. In equations, variable characters collide with their superscripts.
Also, the parenthesised variable looks somewhat off-set – too far to the right.
It looks good when compiled with pdflatex (or just without xltxtra, but that's not an option for other reasons).
Here's an MWE:
\documentclass{beamer}
\usepackage{xltxtra}
\begin{document}
\begin{frame}{Example}
\begin{block}{Equation~1}
\[f^\text{cap}(x) = \max(n, f(x))\]
\end{block}
\end{frame}
\end{document}
I assume it's font-related, but since I don't set any fonts manually, it's not something you'd expect to happen.
arevpackage to use the Arev font for sans math, the kerning is correct. – Alan Munn Mar 12 '15 at 19:07arevworks with XeLaTeX? I installed it, but I get a lot ofCommand \nobreakspace unavailable in encoding T1errors when I put\usepackage{arev}in the preamble. – lenz Mar 13 '15 at 00:57xltxtra. – Alan Munn Mar 13 '15 at 04:01arevwith my actual document. The error can be reproduced, however, by inserting a nobreakspace somewhere (see the minimally updated MWE). – lenz Mar 13 '15 at 12:13usepackage{arev}also changes the standard font (outside equations). But withusepackage{arevmath}the kerning problem persists... why? – lenz Mar 13 '15 at 13:28arevisn't the solution. The real problem is that there are no available OpenType sans serif math fonts. I think the best solution would be to use a proper OTF math font such as Asana Math for the math. – Alan Munn Mar 13 '15 at 15:16