Tell me more ×
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.

I'm using the following setup for the Libertine font:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[lining]{libertine}
\usepackage[libertine, cmintegrals]{newtxmath}

\begin{document}

Test: $75 + 250\log_2 n = 75 + \frac{250}{\log_{10} 2} \log_{10} n$

\end{document}

But the spacing for inline math seems to be a little strange:

Compare the spacing of = and the numbers in the denominator to the output with mathpazo or mathdesign/Utopia:

In my opinion the Libertine results look more uneven and poorly spaced. Is this just how the font looks, or is there something I can do to make this look better?

share|improve this question
I agree that libertine looks suboptimal here (or is newtxmath to blame?). The "10" in the logarithms looks particularly bad, maybe the numbers are drawn from the wrong place (tabular figures). – mafp Jan 25 at 8:51
Check your log. I can't duplicate your output. – user22108 Jan 25 at 19:26
@user22108 Added MWE. It's very simplistic and exhibits the same spacing as my original screenshot. – jtbandes Jan 25 at 19:28
In my test, I added \huge; so it seems the small size is relevant. – user22108 Jan 25 at 19:34

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.