I use the kpfonts package with option oldstylenums but I would like to get by default so-called classic-style numbers when using the KP teletype font.

AFAICT, the package options do not allow this. I guess there is a way to achieve this by playing with low level names... According to this, I guess I'd like to use the jkptt font but I don't know where to go from there. Any help appreciated!


You can set \ttdefault to the value it has without the oldstylenums option.


% reset \ttdefault not to use \jkp@style


Roman: 1234567890

Sans: \textsf{1234567890}

Teletype: \texttt{1234567890}


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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