I'm trying to use \dot{P}
in a math environment.
MWE:
\documentclass{scrartcl}
\usepackage[no-math]{fontspec}
\usepackage{libertineotf}
\usepackage[libertine]{newtxmath}
\begin{document}
\begin{equation}
\dot{P}(t) + 1234567890
\end{equation}
\end{document}
Without the command \dot
everything works as aspected.
With it I get the error: Internal error: bad native font flag
and no output is produced.
Without the option no-math
or the entire fontspec
package (whose functionality I don't even need at the moment) there is an output compiled that includes a correct "dotted" P.
But the paranthesis, the plus sign and the numbers are not set in the Libertine font but rather in CM.
Also the spacing information from the newtxmath
package seems to get lost (could be related to CM).
I already tried to change the package order. That resulted in an option clash error for fontspec and the same output as without the fontspec package at all.
Any suggestions?
I tried using the libertine
package for pdflatex
(without fontspec of course) which produced the same output as XeLaTeX without the fontspec package.
Versions/File List:
MikTeX 2.9 64bit, Win7
libertineotf.sty 2012/04/07 5.13-8
fontspec.sty 2012/05/06 v2.2b
newtxmath.sty 2012/06/25 v0.99