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.

3
  • It would be helpful if you add a minimal example that illustrates your problem. Commented Mar 21, 2011 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. Commented Mar 21, 2011 at 23:37
  • @Martin: Please turn your comment into an answer.
    – lockstep
    Commented Jun 18, 2011 at 19:31

2 Answers 2

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

2
  • Linux Libertine is quite different from Kurier.
    – egreg
    Commented Jun 19, 2011 at 14:02
  • @greg: did I said anything different?
    – user2478
    Commented Jun 19, 2011 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.

You must log in to answer this question.

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