2

I've just installed and updated MacTeX and am recompiling files for the university courses I'm teaching this year.

I'm experiencing a really peculiar problem with numeric information when I set certain options on the Libertine package and combine that with bold face with emphasis.

\documentclass{article}
\usepackage[oldstyle,sb]{libertine}

\begin{document}
1,048,576 vs.\ \emph{\textbf{1,048,576}}
\end{document}

Here's the output:

enter image description here

If I get rid of either option on the libertine package, the problem goes away. It makes no difference, by the way, whether \emph{} is imbedded in \textbf{} or the other way around, for what it's worth.

Any idea what is going on?

I don't think I had this problem last year, but I don't have access to the older system at the moment though I can check this later if need be.

9
  • 1
    eek that's not good! I get the same here... (same in tl 2017 and 2016) Aug 31, 2018 at 16:12
  • You didn't happen to scan those number with a Xerox photocopier (dkriesel.com/en/blog/2013/…), did you? I can reproduce the issue with the libertine package and all three engines. No matter what comes out of this question, you will want to contact the package author about this, he should know about this.
    – moewe
    Aug 31, 2018 at 16:15
  • No, I didn't scan it! Wish I could cop to this :) Sent a message to the package maintainer just now. Aug 31, 2018 at 16:48
  • For the otf version of the font there is already a bug report: sourceforge.net/p/linuxlibertine/bugs/331, see also tex.stackexchange.com/questions/372441/… Aug 31, 2018 at 17:59
  • @UlrikeFischer Thanks for the reference. I thought I read somewhere earlier today that the OTF version was obsolete... but I don't recall where. Is there a reason to prefer one package over the other? Aug 31, 2018 at 18:07

1 Answer 1

1

The Linux Libertine otf font has the problem (as shown if you run xelatex). But it seems that the libertinus fork has fixed the problem, if you're willing to use xelatex.

2
  • I do use XeLaTeX anyway so this may be an option. I had considered this package at one point and don't remember why I didn't go that route. I'll check it out! Aug 31, 2018 at 22:58
  • I've been in touch with the Libertine package maintainer and as the problem is with the fonts themselves he has suggested I contact the font designer(s), which I may do for completeness' sake (though as Ulrike notes the problem has already been signaled for OTF). In the mean time, he also recommends Libertinus. Sep 4, 2018 at 18:32

You must log in to answer this question.

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