2

mainly i'm aiming at doing the same thing as discussed in this question (How To Change Math Font Only?); except i want to use the "km serif" font and no matter what i search for on the web, i don't find the code to enter in the ”\renewcommand”-command. Is there one and if there isn't, how could i work around it? I do love the kp serif font but the math mode version of it just looks completely bonkers - i'd rather want to use the garamond font if thats possible using pdfLaTeX - if it isn't i'd probably use Computer Modern Bright.

Thanks for reading my question, perhaps you can answer it?

Greetings

7
  • I think it's jkpss.
    – 1010011010
    Jul 24, 2014 at 15:40
  • Probably jkp. I'm guessing ss is sans.
    – cfr
    Jul 24, 2014 at 16:49
  • 3
    Is \usepackage[nomath]{kpfonts} what you want? It loads all the text fonts, but does not modify mathematical fonts. In any case, if you need to use the low-level commands, the font names for this purpose are listed in Section 5.1 of the kpfonts documentation. Jul 24, 2014 at 17:17
  • @PaulGessler Turn it into an answer? ;-) I would, however, include the original answer and how you got to it (if you have it). It's probably good practice to avoid work-arounds as much as possible (you might find a meta post on this soon).
    – 1010011010
    Jul 24, 2014 at 17:40
  • @1010011010 I will convert to an answer if the OP confirms that this is actually what he wants/needs. And: What original answer? Is this a dupe? Jul 24, 2014 at 17:43

1 Answer 1

2

kpfonts has a nomath option for precisely this purpose. It will load all Kepler text fonts, but not modify any mathematics fonts.

The \usepackage[math]{blindtext} and \blindmathpaper in the example are just for some sample text with mathematics; they are not needed for your actual document.

Code:

\documentclass{article}
\usepackage[nomath]{kpfonts} % load kpfonts without modifying maths fonts
\usepackage[math]{blindtext} % just for sample text with mathematics
\begin{document}
\blindmathpaper
\end{document}

Output:

enter image description here

You must log in to answer this question.

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