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
1 answer
68 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{...
user avatar
  • 626
1 vote
1 answer
108 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 ...
user avatar
0 votes
1 answer
87 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, ...
user avatar
3 votes
1 answer
55 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 ...
user avatar
  • 313
2 votes
1 answer
94 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,...
user avatar
  • 2,065
1 vote
0 answers
60 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 ...
user avatar
  • 11
1 vote
0 answers
37 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. \...
user avatar
  • 497
0 votes
0 answers
59 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 ...
user avatar
  • 497
1 vote
1 answer
48 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 ...
user avatar
  • 1,359
3 votes
2 answers
138 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 ...
user avatar
  • 17.3k
0 votes
0 answers
32 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. ...
user avatar
  • 497
1 vote
1 answer
213 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 ...
user avatar
  • 17.3k
7 votes
0 answers
288 views

When *should* old style numbers be used?

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 ...
user avatar
  • 2,528
5 votes
1 answer
98 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? % ...
user avatar
  • 357
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 ...
user avatar
  • 402
0 votes
1 answer
37 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 = ...
user avatar
  • 291
3 votes
1 answer
141 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 ...
user avatar
  • 387
0 votes
0 answers
194 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?
user avatar
  • 179
3 votes
2 answers
179 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}...
user avatar
  • 2,882
2 votes
1 answer
199 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 ...
user avatar
  • 1,877
2 votes
2 answers
172 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 ...
user avatar
4 votes
1 answer
394 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-...
user avatar
0 votes
1 answer
194 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
535 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 ...
user avatar
6 votes
1 answer
175 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]{...
user avatar
3 votes
2 answers
281 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 ...
user avatar
4 votes
1 answer
589 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]{...
user avatar
  • 578
3 votes
1 answer
565 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, ...
user avatar
1 vote
0 answers
205 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, ...
user avatar
2 votes
1 answer
447 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 ...
user avatar
12 votes
2 answers
705 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 ...
user avatar
  • 287
1 vote
1 answer
159 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? \...
user avatar
2 votes
1 answer
99 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 ...
user avatar
  • 101
4 votes
1 answer
2k 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 ...
user avatar
  • 32.2k
0 votes
1 answer
127 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 ...
user avatar
1 vote
1 answer
399 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 ...
user avatar
  • 1,076
1 vote
1 answer
817 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 ...
user avatar
1 vote
1 answer
76 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 ...
user avatar
  • 113
3 votes
2 answers
643 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 ...
user avatar
  • 805
1 vote
0 answers
66 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 ...
user avatar
  • 544
4 votes
1 answer
503 views

Changing \leftmark number to \oldstylenums in memoir

Referring to the image below, I am trying to change the number '1' on the \leftmark header to \oldstylenums number format. Can anyone help? Here is my MWE: \documentclass[12pt,twoside,openright]{...
user avatar
2 votes
1 answer
357 views

Temporary use lining (new style) numbers when default is oldstyle numbers?

I'd like to use oldstylenums by default. Now I do it with package kpfonts. But sometimes I need to use lining numbers here and there, for example with capital letter stuff, like ISO 9000. Is there an ...
user avatar
  • 564
3 votes
2 answers
2k views

Is there a way to use baskervald font and old style numbers for whole document?

Is there a way to use baskervald for text and old style numbers by default? I want to avoid customizing each number set. Also I want to have text with proper typography. I have a complete text of 138 ...
user avatar
  • 544
2 votes
2 answers
358 views

Changing font of numbers (Importing from a different font)

I want to use \usepackage[sfdefault]{merriweather}, but without the oldstyle numbers. I wanted to change the font of Sans Serif numbers to Helvetica, Epigrafica, ..., so I can use lining numbers. ...
user avatar
0 votes
1 answer
221 views

Chapters and sections without oldstyle numbers

I want to use \usepackage[sfdefault]{merriweather}, but without the oldstyle numbers. So, I wanted to change the font for numbers on the sections and chapters or use a similar font (Helvetica, maybe?)....
user avatar
9 votes
1 answer
1k views

Oldstyle numbers in body text computer modern

Is there any way to make all numbers written outside of math mode be rendered oldstyle while still using the Computer Modern font? I'm pretty partial to both, and also to not writing \oldstylenum ...
user avatar
  • 225
8 votes
3 answers
3k views

Sans serif old-style numerals?

is it possible to get old-style numerals as sans serif? \oldstylenums is with serifs only as far as I see. Or do I need an additional font? (if yes, which one would be suggested?) Cheers and thanks, ...
user avatar
  • 277
3 votes
1 answer
998 views

OldStyle numbers, the Fira Sans font and the siunitx package: incorrect % symbol

I am working on a document where I regularly use percentages. For that I'd like to use the siunitx package so that I can write \SI{56}{\%}. I also prefer to use OldStyle (or Lining) numbers. Currently ...
user avatar
  • 1,100
6 votes
2 answers
479 views

Can't get oldstyle figures in url with lualatex

The following works with xelatex: \documentclass{article} \usepackage{url} \urlstyle{same} \usepackage{fontspec} \setmainfont{Libertine Serif}[Numbers = {OldStyle, Proportional}] \begin{...
user avatar
  • 19.8k
4 votes
1 answer
838 views

Substitute a character by another one (Lualatex)

The lowercase figures of Adobe Garamond Pro are very nice, but the 1 can be confusing: Is this 11 (as it should be) or 2 in Roman? I would like to replace automatically this lowercase 1 with another ...
user avatar
  • 125