4

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.

  • It would be helpful if you add a minimal example that illustrates your problem. – Martin Scharrer Mar 21 '11 at 23:34
  • 3
    If the old style numbers are located in the small caps version of this font and you want to have small caps font for these texts there is IMHO not much what you can do. Basically you then need the numbers be typeset in another font (face) than the letters, which isn't really simple to do. – Martin Scharrer Mar 21 '11 at 23:37
  • @Martin: Please turn your comment into an answer. – lockstep Jun 18 '11 at 19:31
5

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

  • Linux Libertine is quite different from Kurier. – egreg Jun 19 '11 at 14:02
  • @greg: did I said anything different? – user2478 Jun 19 '11 at 14:10
5

If the old style numbers are located in the small caps version of this font and you want to have small caps font for these texts there is IMHO not much what you can do. Basically you then need the numbers be typeset in another font (face) than the letters, which isn't really simple to do.

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.