3

I'm using the newpxtext package with xelatex, and I find I'm missing small caps ligatures when I pass the largesc option:

\documentclass[border=0.4in]{standalone}
\usepackage[largesc]{newpxtext}
\begin{document}
Isomorphism of Infinite Groups. \textit{vs.} \textsc{Isomorphism of Infinite Groups.}
\end{document}

enter image description here

Note Innite instead of Infinite. Compare this to the result without largesc:

\documentclass[border=0.4in]{standalone}
\usepackage{newpxtext}
\begin{document}
Isomorphism of Infinite Groups. \textit{vs.} \textsc{Isomorphism of Infinite Groups.}
\end{document}

enter image description here

I am certainly not savvy enough to suss out what might be happening here; any help would be appreciated.

4
  • 1
    It's a curious problem, but using newpxtext with XeLaTeX doesn't make much sense anyway.
    – egreg
    Commented Sep 12, 2016 at 16:01
  • In any case, small caps fonts should not have f-ligatures to begin with.
    – egreg
    Commented Sep 12, 2016 at 16:19
  • I don't think it has f-ligatures, which might be why it omits the FI entirely. Why doesn't it make sense to use newpxtext with XeLaTeX, if I may ask?
    – Derek
    Commented Sep 12, 2016 at 18:17
  • newpxtext uses legacy fonts, so you just get into problems if you use XeLaTeX with it.
    – egreg
    Commented Sep 12, 2016 at 19:09

1 Answer 1

1

(too long for a comment, hence posted as an answer)

It may be that you're not using an up-to-date version of the newpxtext package. The most recent version, as of early September 2016, is version 1.301, 2016/08/29.

Here's an MWE that shows that the fi ligature as well as the other f-ligatures are working with the latest version of newpxtext. (They are working with and without the option largesc.)

enter image description here

\documentclass{article}
\usepackage[largesc]{newpxtext}
\begin{document}
off fit fly office baffle infinite

\scshape off fit fly office baffle infinite
\end{document}

Incidentally, the f-ligatures provided by the newpxtext package aren't nearly as elegant as those of a "real" Palatino font, say, Palatino nova:

enter image description here

%% Compile with LuaLaTeX or XeLaTeX...
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Palatino nova} 
\begin{document}
off fit fly office baffle infinite
\end{document}
6
  • Interesting. I've verified that I have the most recent version of the package. When I try your MWE, all the ligatures are missing. I can only assume there must be something wrong with my TeX installation.
    – Derek
    Commented Sep 11, 2016 at 23:07
  • Ah — it appears that if I compile my MWE with xelatex, the problem occurs. If I use pdflatex, it works correctly.
    – Derek
    Commented Sep 11, 2016 at 23:15
  • @Derek - Do you have access to a Palatino text font on your system? If so, you may be better off loading the fontspec package and loading the text font via a \setmainfont instruction.
    – Mico
    Commented Sep 12, 2016 at 0:12
  • 1
    I'm marking this correct since it pushed me to move off the newpxtext package and fully embrace fontspec.
    – Derek
    Commented Sep 13, 2016 at 19:04
  • @Derek That code ought not compile at all with pdflatex!
    – cfr
    Commented Sep 16, 2016 at 3:23

You must log in to answer this question.

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