3

I was happily using the kpfonts package for my thesis, then I wanted to switch to xelatex for some reasons and I realized I didn't know how to use Kepler fonts with xelatex. The kpfonts package, when used with xelatex, silently fails, apart from the usual missing fonts substitution warnings.

%!TeX program = xelatex
\documentclass{book}

\usepackage{kpfonts}

\begin{document}

Hello World

\end{document}

Note that I use the kpfonts package specifically for its light variant, so using another Palatino-like font won't work for me unless there is a way to get a similar light version.

Any way to get it work with xelatex?

3
  • Possible related here? tex.stackexchange.com/questions/191981/xelatex-kpfonts-greek
    – Sebastiano
    Commented Aug 9, 2018 at 7:43
  • You're missing the most important piece of information: why do you need XeLaTeX? And no, KPfonts are by no means a variant of Palatino.
    – egreg
    Commented Aug 9, 2018 at 9:27
  • It's to be able to use Helvetica Neue as a sans serif font for titles. But I don't think that's really relevant to the question. Commented Aug 9, 2018 at 9:30

1 Answer 1

2
\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage{kpfonts}

\begin{document}

    Hello World

\end{document}

uses Kepler-fonts

4
  • when compiled with xelatex as well? Commented Aug 9, 2018 at 9:25
  • Your question was "Using kepler fonts with XeLaTeX?" ... ;-)
    – user2478
    Commented Aug 9, 2018 at 9:30
  • Yes, thank you. It seems to work, but the link posted on a comment seems to imply that kpfonts is incompatible with xelatex, so am I going to face some problem? Commented Aug 9, 2018 at 9:32
  • It is not an unicode font, some special characters are not available.
    – user2478
    Commented Aug 9, 2018 at 9:35

You must log in to answer this question.

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