I have checked thekpfonts.sty
:
\renewcommand{\sfdefault}{jkpss\kp@petitesmajuscules\kp@flig\kp@style}
It seems that this name jkpss\kp@petitesmajuscules\kp@flig\kp@style
is not correct. So what's the real name of this font?
So how to invoke Kpfonts
as a second font?
Best Answer
As I already commented, the low level names of all Kp-Font variants are documented in the manual. But I must admit, that this may be hard to understand.
So I thought, I should show some examples here. Regarding your question in comments see at the end.
For your document you should define one or two commands depending on, what you like better. I will use here the basic Kp-Font roman, as seen above it is
jkp
:A switch similar to
\rmfamily
or\bfseries
:\newcommand{\kproman}{\fontfamily{jkp}\selectfont}
, but then you have to set it in a group. Compare what I did in the example inside of\newcommand*{\testfont}
.Similar to
\textrm
or\textbf
a grouping command:\newcommand{\textkproman}[1]{{\fontfamily{jkp}\selectfont#1}}
, note the doubled braces for the grouping.