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 .
https://tex.stackexchange.com/questions/14015/how-to-turn-off-oldstyle-numbers
tex.stackexchange.com
CC-MAIN-2024-26
157157
application/http; msgtype=response
sha1:5QPWAGOJ76MAYFE4F6PFNPI2AWJQFNEK
<urn:uuid:b5a263f7-0428-4737-b20e-1c766ef7d79b>
2024-06-23T18:59:44Z
104.18.43.226
text/html
sha1:FXMW36EANS32XF2W2XQBR2CMYFEA5NRS
<urn:uuid:9084aa47-bcae-48f7-827b-ff2c6a5fd47e>
https://tex.stackexchange.com/questions/14015/how-to-turn-off-oldstyle-numbers
response
<urn:uuid:58424042-54dc-4c02-b2b7-49ce699a8c0b>
isPartOf: CC-MAIN-2024-26
publisher: Common Crawl
description: Wide crawl of the web for June 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-21
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/