TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to use Garamond for my publishing house. Is there a way to use the package garamond without having the numbers in the oldstyle?

Here are the packages which I am using for pdflatex:

% Fonts for pdflatex:
\sodef\an{}{.1em}{.4em plus.1em}{.8em plus.1em minus.1em}
\newcommand{\mycohead}[1]{\cohead {\an{ #1}\parbox[t][2mm][t]{0pt}{}}}
\newcommand{\mycehead}[1]{\cehead {\an{ #1}\parbox[t][2mm][t]{0pt}{}}}
\usepackage{amsmath, amssymb, graphics}
% page format
\geometry{verbose, twoside, paperheight=213mm, paperwidth=140mm, textwidth=108mm, textheight=172mm}
% caption italics
\addcontentsline{toc}{chapter}{1 Einleitung}
\chapter*{1 Einleitung
This is the basic header. The font seems to be the garamond font.
The numbers are: 123456789. But should be without the old style.
From here: the garamond is ignored.
This is the standard font and the numbers are: 123456789
But the book has more than 2 hundred pages with thousands of numbers and therefore I need a global routine for avoiding old-style-numbers.
share|improve this question
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces, then they are marked as a code sample, as I did in my edit. You can also highlight the code and click the "code" button (with "{}" on it). It's not necessary to sign your questions (as there is already a box with your username below it) or to begin them with a greeting. – doncherry Jun 29 '11 at 12:12
you should not use the ngerman package. It can cause strange side effects. Use the package babel with the ngerman option. – Martin H Jun 29 '11 at 12:43
I'm sorry I can't help with your question, \usepackage{garamond} doesn't seem to use Garamond with my setup, but instead some horribly old versions of Computer Modern. I just wanted to note that your documentclass options yield a number of warnings for me (MiKTeX 2.9): smallheadings, tocleft and idxtotoc appear to be obsolete, and 10.5pt is unused, probably not a valid font size specification. Also, is there a reason you load the font package lmodern if you want to use Garamond in the end? – doncherry Jun 29 '11 at 12:59
Where did you get the support files for garamond and the font itself? Complete your example with a small document body. Compile it with pdflatex and put the document, the resulting pdf and the log-file somewhere on the net for inspection. – Ulrike Fischer Jun 29 '11 at 13:42
Thanks for adding the document body. Generally, try to provide a minimal working example (MWE), since your above sample contains many packages that are actually not connected to the problem. Also, please try to comment in the right places, e.g. place your answer to @Ulrike's comment here, similarly your sentence about lmodern. This is all to make your issue easier to solve and thus for you to get better and faster answers. – doncherry Jun 29 '11 at 15:47

I'm really not an expert here, but you could probably just use the mathdesign-package with urw-garamond (\usepackage[urw-garamond]{mathdesign}) instead, since it produces normal numbers by default. (http://www.tug.dk/FontCatalogue/garamond/)

share|improve this answer
Thanks. I tried to install urw-garamond but it does not work. I am using pdflatex due to some other constraints which I have to consider. I deleted lmodern. Does anyone know how to get normal numbers with my calibrations? – fab Jun 29 '11 at 13:24
@fab: Unfortunately, you need to get the urw-garamond font separately, as I have just found out myself (it didn't work for me either :/). If you're using linux, you can get it via getnonfreefonts garamond classico (terminal). (or manually: ctan.org/tex-archive/fonts/urw/garamond) – Lustique Jun 29 '11 at 14:01
@fab: Another solution: Just download the package from the above website (garamond.zip) and move the files from the folder garamond (in the archive) directly into the folder where your tex-file is located. This solution is a little bit messy (whereas portable), but for me, it works. – Lustique Jun 29 '11 at 14:10
@Lustique: its so strange. I did the same with the garamond which i am using and it works. as soon as i am using your recommended folder it appears the message: urw-garamond.sty could not be found. i coppied all files from that folder to the folder with the tex document. Do i need a beside the usepacke another routine in the header? – fab Jun 29 '11 at 14:50
@ulrike fisher: I used the garamond from the webpage: gael-varoquaux.info/computers/garamond/index.html – fab Jun 29 '11 at 14:52

EB Garamond is an excellent, full-featured (and open-source!) Garamond font with support for OldStyle and Lining numerals.

It even has a variant of OldStyle numerals to differentiate from small caps.

See the specimen stylesheet.

You will need to use fontspec (with either XeTeX or LuaTeX):

\setmainfont{EB Garamond}


Let's count: 1, 2, 3, 3.1415

Let's count: 1, 2, 3, 3.1415


EB Garamond: OldStyle and Lining styles

share|improve this answer
From the doc: "Commands \oldstylenums{...} and \liningnums{...} are defined to allow for local use of old-style figures or lining figures, respectively. Similarly, \tabularnums{...} and \proportionalnums{...} allow for local use of monospaced or varying-width figures, respectively." – hos Mar 17 at 12:50

I use the package xagaramon, which only generates old style figures if you pass it the osf option. But there are so many different typefaces named garamond I am not entirely sure from your question whether we are talking about the same one. I'm using Adobe Garamond Pro, which (for my perhaps idiosyncratic installation which dates about 10 years back) involves the prefix pad for all its files (e.g. I have the file pad.map in my texmf tree; you can use kpsewhich pad.map at the command line to check for this).

(Also, URW Garamond is more or less unrelated to Adobe Garamond, as far as I could tell when I looked into using those support files; they certainly don't involve interchangable .sty files.)

share|improve this answer
oops, I just spotted the comment saying that you are using a modified URW garamond. I'll leave my answer since it hopefully clarifies things for other people, but given that, it probably doesn't help you, sorry. – kgr Jun 29 '11 at 15:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.