TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In an earlier question I asked how to display a triple line integral. This was not possible with the earlier package mathpazo which I use, so I would like to switch to pxfonts. This package, if I understand it correctly, contains a set of different fonts of different families, including an extended Palatino that allows me to use the \oiiint command.

My earlier font combination was the standard KOMA Script sans serif font (forgot its name unfortunately) with Palatino as serif font, which fits nicely in my opinion.
How can I achieve the same combination using the scrbook class and the pxfonts package?

share|improve this question
So the question is "How do I switch back to the default serif font from KOMA script?" – Seamus Mar 14 '11 at 17:39
up vote 7 down vote accepted

Besides redefining \sfdefault, as lockstep suggested, the math sans serif font should also be changed. Otherwise it would still be Helvetica.

\( \mathsf{Text} \)
\( \mathsf{Text} \)

cmss with pxfonts

share|improve this answer
Thanks, great answer! – Ingo Mar 15 '11 at 18:20

The \sfdefault macro defaults to cmss (Computer Modern Sans Serif) (or lmss in case you use the lmodern package). The pxfonts package redefines \sfdefault to pxss (Helvetica), and this needs to be undone.

EDIT: How did I find out about cmss and pxss? I put \show\sfdefault in the document preamble to display the definition of the \sfdefault macro (first with, then without loading pxfonts).





\chapter{A chapter}


share|improve this answer
could you say a little about how to find the code for a particular font like that? Say I wanted to use the sans font that the libertine package loads, how would I find that information? – Seamus Mar 14 '11 at 18:07
@Seamus simply search for redefinitions of \sfdefault $ grep -e "sfdefault" libertine.sty \renewcommand\sfdefault{\biolinum@param}% followed by: grep -e "biolinum@param" libertine.sty delivers the font families: fxb, fxbj, fxbo, fxbjo – Josef Mar 15 '11 at 14:21

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.