[Tex/LaTex] How to turn off oldstyle numbers

fontsoldstylenums

There are lots of sets of instructions for using oldstyle numbers (e.g. Utilizing oldstyle figures without resorting to \oldstylenums) but what might I do to turn them off completely?

The detailed story is that I'm using the Kurier font and hyperref with the frenchlinks option, so that citations are rendered in small caps, which the font thinks of as oldstylenums. So far I even managed to use the cite package to substitute a typewriter font:

\renewcommand\@citess[1]{{\ttfamily [#1]}}

but

\renewcommand\@citess[1]{{\rmfamily [#1]}}

just supplies the same oldstylenums I'm trying to get rid of.

Best Answer

you can try to change the font for the citations, eg

\RequirePackage{filecontents}
\begin{filecontents}{latex6.bib}
@book{voss,
author={Herbert Vo{\ss}},
title={A Book},
publisher={lehmanns media},
year=2011,
}
\end{filecontents}


\documentclass{article} 
\usepackage[T1]{fontenc}
\usepackage{kurier,cite}
\usepackage[frenchlinks]{hyperref}
\makeatletter
\renewcommand\@cite[1]{{\fontfamily{fxb}\selectfont[#1]}}
\makeatother
\begin{document} 
foo~\cite{voss}
\bibliographystyle{alpha}
\bibliography{latex6}
\end{document}

enter image description here