8

I'm using the Charter font using the following package:

\usepackage[charter]{mathdesign}

I want to have oldstyle (lowercase) numbers in conjunction with this package. I've seen this question but it refers to CM and palatino only. Any way of getting oldstyle numbering (throughout the document) with Charter font?

recluze
  • 4,201

2 Answers2

7

I think the answer is No. LaTeXdefines \oldstylenums

\def\oldstylenums#1{%
   \begingroup
    \spaceskip\fontdimen\tw@\font
    \usefont{OML}{\rmdefault}{\f@series}{it}%
    \mathgroup\symletters #1%
   \endgroup
} 

When a font contains old style numbers, like fourier, you find in the package fourier.sty an option : oldstyle.

\DeclareOption{oldstyle}{\def\textfamilyextension{j}%
\def\mathfamilyextension{x}\poormanfalse}

with

\newcommand*{\oldstyle}{\fontfamily{futj}\selectfont} 

but in charter.sty there nothing about oldstyle. This is not encouraging

Alain Matthes
  • 95,075
4

read the documentation texdoc mathdesign there you'll find a topic "oldstyle figures"

With a faked font, because charter scmall caps are not free:

enter image description here

  • Well, it has a section which says '... oldstyle figures', but there is no mention at all of anything in the text. – Joseph Wright Dec 15 '11 at 08:35
  • sure, it is: "Now use the mathdesign package with the option expert. Small caps and oldstyle figure are available with the command \textsc{...}." –  Dec 15 '11 at 08:45
  • Okay, I'd missed that one line. It seems very odd, however, to say that old style figures appear in \textsc: that's clearly an abuse (and pretty useless for the normal use case of having lower case figures in body text). – Joseph Wright Dec 15 '11 at 08:49
  • There is : The following options are available: expert if the corresponding postscript font are available on your system, this option activates them. The question now becomes : Is the corresponding font is available? – Alain Matthes Dec 15 '11 at 08:52
  • no, that is the default for a lot of TYPE 1 fonts, combining small caps and old style numbers ... One can choose any existing pfb file and copy it to bchrc8a.pfb and the oldstyle feature works. Modifying the style file is also possible. –  Dec 15 '11 at 09:01