Skip to main content

Questions tagged [oldstylenums]

"Old Style Numbers" are numerals typeset with varying heights in a fashion that resembles a typical line of running text.

Filter by
Sorted by
Tagged with
2 votes
2 answers
235 views

Protocol Used by the \oldstylenums Command to Display Digits

This question is a follow-up to Typesetting the Year in an Old Style. Consider the following is the code taken from the posted answer which I accepted: \documentclass{article} \begin{document} 1882 ...
DDS's user avatar
  • 9,768
1 vote
1 answer
58 views

Having lining numbers with cfr-lm

I'm trying to use oldstyle numbers only in my body text using pdfLaTeX. Looking at other questions, I had the idea to use the cfr-lm package and then try to come back with lining numbers in : ...
Louis Lascaud's user avatar
1 vote
1 answer
54 views

Old style numbers on cross-references and links

I am writing a document and want to have old style numbers whenever hyperref creates a links to something inside my document that is numbered. This includes references to numbered sections, pages (...
Pedro G. Mattos's user avatar
3 votes
1 answer
59 views

How to use old style numbers from the GFS Didot font family?

I am using pdfLaTeX and the gfsdidot package for my document. According to the documentation, The package provides also a matching small caps shape for both latin and greek including old style ...
user avatar
4 votes
1 answer
171 views

OldStyle numbers in text (everywhere)

I have the following code: \documentclass{article} \usepackage{fontspec} \setmainfont{lmroman10-regular} \begin{document} \addfontfeatures{Numbers={OldStyle}} 0123456789\footnote{0123456789} \end{...
Niranjan's user avatar
  • 3,415
4 votes
2 answers
542 views

Changing mono font with PDFLaTeX

I'd like to change the default monofont (used with \texttt{} and \url{}) to "CMU Typewriter Text Variable Width", without touching the default main font. I was able to do it with \usepackage{...
Flip Tis's user avatar
0 votes
1 answer
64 views

Error between microtype, hyperref, and listings when setting oldstylenums for listings

I am using the listings package for displaying source code, and want to reformat the numbering to use the oldstylenums. The problem comes when using microtype, as it throws errors for every line of ...
asbjos's user avatar
  • 43
1 vote
3 answers
153 views

XCharter with old style figures prints 1 like a shortened I instead of 1 like a shortened 1

I'm trying to create a template in pdfLaTeX using the excellent XCharter package. According to the documentation, the osf package option should load old-style figures, and the numeral 1 should be ...
Venkat's user avatar
  • 179
0 votes
2 answers
76 views

Use oldstylenums with kpfonts in report class on everything BUT chapter/section heading counters

Kepler fonts (kpfonts) includes an oldstylenums options, which turns all numbers, including counters, in oldstyle numbers. Is there a way to use modern lining numbers for chapter and section counters ...
Akul Bhatt's user avatar
3 votes
2 answers
241 views

How to use Old Style Numbers in XeLaTeX

I wish to use old style numbers, and I can do this fairly easily with PDFLaTeX with the following code: \documentclass[a4paper,10pt]{article} \usepackage[osf]{mathpazo} \begin{document} 1234567890 \...
JRCSalter's user avatar
  • 129
2 votes
1 answer
141 views

Activate microtype-Protrusion for superscript old style numbers with LuaLaTex

I’ve been playing around with microtype’s protusion-capabilities and LuaLaTeX, but faced a problem regarding old-style superscript numbers. The regular numbers protrude. This code \documentclass{...
Kubo's user avatar
  • 302
1 vote
1 answer
178 views

Small caps and old style numerals not working with XeTeX in 2021

As above, I'm having difficulty getting small caps and old style numerals to print properly when using CMU Serif with XeTeX. I'm aware that this is a topic that has been discussed before but I wasn't ...
Tom Hosker's user avatar
1 vote
1 answer
273 views

Why are xfrac-style fractions so ugly in this document?

I seem to have stumbled on a rather robust way of stopping the xfrac package from working properly. This is a MWE of the problem: \documentclass{amsart} \usepackage[a5paper, margin=28mm, ...
Tom Hosker's user avatar
4 votes
1 answer
112 views

Adding a command inside \addcontentsline breaks hyperref

here is my problem: by default I use oldstyle numbers in my document, but for the numbers of the headings (in this case the section headings), I would like to use lining numbers. To do this, I have ...
B Legrand's user avatar
  • 433
3 votes
1 answer
192 views

Lining figures in math mode, but oldstyle figures in URLs

Basically, I want to achieve the same as for instance in this question: Changing the math-mode figures to “old style”. But not in general math, only for URLs, which are set in math mode (in the manual,...
crateane's user avatar
  • 2,217
1 vote
0 answers
95 views

How to combine old style figures and mathematical expressions?

I'm using the ArsClassica package to write my thesis in chemistry. This package uses old style figures for text and inline figures for math. My problem is, that I have to use a couple of figures with ...
Sargos's user avatar
  • 11
1 vote
0 answers
46 views

Getting cfr-lm and titlesec to work together

In my minimal example below, I would like to use the cfr-lm package to make all numbers oldstylenums, but use bold with small caps in the titles. I use pdflatex with TexMaker as my frontend. \...
Miloop's user avatar
  • 978
0 votes
0 answers
84 views

Set oldstylenums as the default writing style throughout the document

I am trying to set all numbers in my document in \oldstylenums format. There are about 345 instances where the numbers need to be changes to oldstylenums in the text. Is it possible to convert them ...
Miloop's user avatar
  • 978
1 vote
2 answers
165 views

Use lining figures in specific places with `newpxtext`

I have a LaTeX document set up with \usepackage[osf]{newpxtext} in the preamble. There are a few places I want to use lining figures (in text mode). How can I switch to lining figures for a short part ...
dbmag9's user avatar
  • 1,411
3 votes
2 answers
202 views

Getting siunitx to use text numerals, but only when it isn't in a table with fontspec

What I want: S column type in tables to use tabular/lining figures. \SI, \num, \SIrange, etc all to use old-style/proportional numbers. I recently asked a question about getting siunitx to work with ...
Canageek's user avatar
  • 18.1k
0 votes
0 answers
64 views

Using oldstylenums with siunitx. Or making it the default style in document

I am attempting to add use siunitx and want all my numbers to be in the oldstyle. However, I am unable to compile it correctly. Something like \SI{\oldstylenums{23}}{\milli\Molar} throws errors at me. ...
Miloop's user avatar
  • 978
1 vote
1 answer
565 views

Getting siunitx to use text numerals, but only when it isn't in a table

I'm using a lot of numbers in my thesis, and I'm use the cfr-lm package to make them old style instead of lining, so that they aren't so distracting- Otherwise it looks like I have random all caps ...
Canageek's user avatar
  • 18.1k
8 votes
0 answers
785 views

When *should* old style numbers be used? [closed]

Not sure if this is too subjective but here goes... Using fonts like newpx and ebgaramond, the old style figures options seem to affect all figures (as in numbers) in the document. Is this good ...
jessexknight's user avatar
  • 2,812
5 votes
1 answer
143 views

Oldstyle numerals by default with Lucida Bright T1

I bought the Lucida fonts from TUG. Is it possible to use the T1 version and have old style figures in text by default (that is, without the need of selecting them with \oldstylenums each time? % ...
efl's user avatar
  • 367
11 votes
2 answers
3k views

How to make all digits oldstyle?

What should I put in my document's preamble so that digits are oldstyle? Not "digits in textmode", "digits". Mathmode as well. I know some people dislike oldstyle digits in mathmode because they make ...
Rosie F's user avatar
  • 444
0 votes
1 answer
88 views

Empty citeindex using biblatex DeclareCiteCommand

I want to prevent biblatex using OldStyle figures for supercite indices. MWE: % !TEX engine=xelatex \documentclass{scrreprt} \usepackage{fontspec} \setmainfont [ BoldFont = ...
ju.'s user avatar
  • 311
3 votes
1 answer
278 views

Problem Libertine semi-bold with lining nums

I wish I could use the semi-bold version of the Libertine font. By default, I use elzevirian numbers and there, no problem, I can have elzevirian numbers in semi-bold. On some occasions, I would ...
Bastien's user avatar
  • 449
0 votes
0 answers
198 views

How to use lowercase numbers in-line? [duplicate]

I am wondering how you would make use of lowercase numbers in a document? Specifically, are there any packages that introduce these?
Brennan's user avatar
  • 199
3 votes
2 answers
247 views

XCharter, XeLaTeX, and getting a pointy oldstyle numeral one

I am using the XCharter OTF font with XeLaTeX and I want a pointy oldstyle numeral 1, whereas what I get with my MWE below is something that looks like I. \documentclass{minimal} \usepackage{fontspec}...
chandra's user avatar
  • 3,104
2 votes
1 answer
272 views

Lining numbers for footnotes

Referring to this thread: OldStyle Numbers in Body Text Only—Lining Numbers Otherwisem how can I instruct LuaLatex to use lining numbers for \textsuperscript and footnote markers if my font use by ...
user41063's user avatar
  • 1,967
2 votes
2 answers
237 views

Uppercase numbers in section headers - classicthesis

How can I force an uppercase number in the subsection header of classicthesis? As oldstyle numbers are used through classicthesis, this causes a problem for headers where abbreviations containing ...
anothersimonharris's user avatar
4 votes
1 answer
524 views

siunitx and XeLaTeX with OldStyle in text, but Lining in math

The attached example (not really an MWE) explains the problem better than I probably can here: % !TeX program = xelatex \documentclass{scrreprt} \usepackage{siunitx} \sisetup{% % detect-...
Alex Povel's user avatar
0 votes
1 answer
219 views

Currvita: cirillic and old style figures + right align item labels

I have this document with currvita package: \documentclass[12pt,a4paper]{article} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage[T1]{fontenc} \usepackage{...
user avatar
13 votes
1 answer
598 views

Why do numbers in a table appear as oldstyle figures when using Palatino/Euler Math?

I'm using the Palatino font in combination with Euler Math. In most cases, digits in math mode appear as standard lined figures. However, in tables, they appear as oldstyle figures. Here's an ...
Nathan Friend's user avatar
6 votes
1 answer
220 views

How to get 'alternate 1' using XCharter with Luatex?

I am interested in using the XCharter font with oldstyle numerals and its 'alternate 1'. Using pdftex, this is simply achieved as \documentclass{article} \usepackage[osf]{XCharter} \usepackage[T1]{...
subtlesplendor's user avatar
3 votes
2 answers
395 views

Typesetting abbreviations in large small caps with numbers

I have trouble displaying an abbreviation nicely. Removing largesmallcaps is a small improvement, but looks really bad in full document. I want normal numbers in the rest of the document. How can I ...
Mats Nilsson's user avatar
4 votes
1 answer
700 views

Mathpazo old style numbers in text, but lining figures in tables, captions or section headings

My question is very similar to lining figures in tables and math, old style figures in text, except I am using the mathpazo font. I would like to use text figures in the body (through usepackage[osf]{...
maero21's user avatar
  • 588
3 votes
1 answer
670 views

Use oldstyle numbers for page numbers only, with KOMA-script

I'm using newtxtext/newpxtext together with scrbook and I'd like to use oldstyle numbers only for page numbers, but also for page numbers in the toc. The former package offers the macro \useosf, ...
Robert Seifert's user avatar
1 vote
0 answers
272 views

Changing font for numbers in entire document

Salam, I would like to ask an advice whether its possible to change font for numbers in the document. In essence, I have prepared a manuscript of a book (some 200 pages). I am using OldStandard font, ...
user136555's user avatar
2 votes
1 answer
577 views

Old style figures in math with newpxmath

I am using the packages newpxtext and newpxmath (both from newpx) with the option \useosf to get old style figures together with Palatino. However, I have searched in vain for a way of getting old ...
Christoffer Østfeldt's user avatar
12 votes
2 answers
806 views

Typeset dots around numbers (old typography)

I am trying to typeset some old book in which I notice that all numbers are surrounded with 1 dot (except if it's first in a line in which case there is no dot before or last in a line in which case ...
Joseph's user avatar
  • 307
1 vote
1 answer
176 views

Lining figures in sidenote marks

I would like my sidenote marks to be lining figures, not old-style figures. I have defined a new font family with lining figures, but how do I get this into the definition of the sidenote marks? \...
J. Bratt's user avatar
2 votes
1 answer
104 views

Babel discarding lining figures?

I am using Baskervaldx’s Baskerville for main text with osf option and Newtx’s Times for math with baskervaldx option. When pdflatex compiles without babel enabled, text figures are oldstyle and math ...
gwenj's user avatar
  • 121
4 votes
1 answer
3k views

Fontspec: Old-style numbers and fonts

I am trying to use old-style numbers in my LuaLaTeX document. My main font is "Cambria", which I do not want to change. As you can see in this picture (line 2) there is a change in font. I do not ...
TeXnician's user avatar
  • 33.7k
0 votes
1 answer
147 views

Numbering theorems with old style numbers, considering appendices

I'm currently writing a document in which I have theorems both in the main chapters and in the appendices. The theorems in the main chapters are numbered 1.1, 1.2, 2.1 and so on, and the ones in the ...
Ignacio Correa's user avatar
1 vote
1 answer
427 views

Monospaced lining figures in tables, proportional lining or oldstyle figures in math, tikz pictures, or normal text

I am trying to set a text where monospaced lining figures are used within tables (tabulars, longtable etc.), proportional lining figures in tikz pictures and math environments, as well as proportional ...
phx's user avatar
  • 1,116
1 vote
1 answer
1k views

My numbers appear as old style numbers in cursive mode

How can I change from old style numbers to normal looking numbers when using cursive modes such as \emph ? My problem occurs when I try to make a reference using the style=chem-acs package, because ...
Gustav Wørmer's user avatar
1 vote
1 answer
160 views

Copy/search of old style numbers with kpfonts

I have old style figures enabled globally with kpfonts. However, numbers are represented as special unicode characters from the point of view of copy-paste or search. I would like them to function as ...
Andreas's user avatar
  • 113
3 votes
2 answers
720 views

TOC with monospaced oldstyle numbers

I'm using oldstyle numbers in my thesis and noticed that the pagenumbers in the table of contents are not providing a straight left line. The following image shows this behaviour for the numbers from ...
Stefan's user avatar
  • 895
1 vote
0 answers
68 views

What is happening with my fonts? [duplicate]

I can't quite install the fonts properly and check the log files, nor can I identify if the font is loading properly. That is, I want to choose the typography but can't notice minor differences ...
nilon's user avatar
  • 554