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?

6
  • Does charter have oldstyle numbers? I don't see any given in the LaTeX font catalogue.
    – jon
    Dec 15, 2011 at 5:17
  • That's the question :) ... Do I simply give up on the font or the oldstyle figure or is there a way to have them both.
    – recluze
    Dec 15, 2011 at 5:33
  • 1
    There is no old-style numbers in Bitstream Charter fonts. You may temporarily change to another font for the numbers.
    – Leo Liu
    Dec 15, 2011 at 5:51
  • Leo Liu. That sounds like a plan but how do I change all numbers to another font?
    – recluze
    Dec 15, 2011 at 7:05
  • 1
    @recluze you can give a look at tex.stackexchange.com/questions/7100/… Dec 15, 2011 at 9:02

2 Answers 2

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

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

5
  • 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, 2011 at 8:35
  • sure, it is: "Now use the mathdesign package with the option expert. Small caps and oldstyle figure are available with the command \textsc{...}."
    – user2478
    Dec 15, 2011 at 8: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, 2011 at 8: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? Dec 15, 2011 at 8: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.
    – user2478
    Dec 15, 2011 at 9:01

You must log in to answer this question.

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