Saturday, 1 June 2013

Correct libertine glyphs in math mode

Correct libertine glyphs in math mode

When using the libertine package together with newtxmath and pdflatex, the equality and minus glyphs in math mode are not taken from the libertine font which results in too large symbols compared to other symbols like the "plus" operator, which is correctly taken from the libertine font. Furthermore, in math mode, the wrong glyphs are of a totally different shape (straight caps instead of round caps like the "plus" sign).
Minimal working example:
\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage{libertine}
\usepackage[libertine]{newtxmath}

\begin{document}\noindent
  Text: a = b + c \textminus{} d \\
  Math: $a = b + c - d$
\end{document}

Text mode uses (of course) correct glyphs, math mode does not.
Is this a bug in the newtxmath package or is it supposed to work like that? Is there a possibility to change individual glyphs (like = and –)?

No comments:

Post a Comment