[OS X TeX] Old style numerals with small caps

Herbert Schulz herbs at wideopenwest.com
Fri May 4 20:55:06 CEST 2012


On May 4, 2012, at 10:06 AM, Josep Maria Font wrote:

> Hi,
> 
> I supervise the typesetting of a local math journal, which has been done in Lucida Bright since over more than two decades now. The house style uses small caps for numbered statements headers (Theorem etc., Figure etc.) and in the past the corresponding numbers were typeset with the so-called "old style" numerals (also called "hanging" by typographers), following a well-established tradition in good typography. This was done automatically, as we just have {\normalfont\schape ...} for theorem headers, figure name in captions, etc., in our class file, and did not do any manual font selection for such numerals.
> 
> We have noticed that, perhaps since mid-2011, such old style numerals no longer appear; the TeX usual numerals (called "lining" by typographers) are used instead. 
> 
> Has anyone experienced this behaviour and/or has some advice on how to recover our beloved old-style numerals ?
> 
> I don't know whether this is the result of some change in the Lucida font packages (we have \RequirePackage[expert,vargreek,altbullet]{lucidabr} in our own class), or in the "ntheorem" package we use to control the theorems settings, or in the texlive installation itself. We noticed the change after some re-installation of the whole system, in the middle of 2011. Sorry I cannot give more details, as the typesetter is on Windows while I am on a Mac, but anyway I am getting the same results. 
> 
> I know that the command \oldstyle is deactivated in the lucidabr package (why?), but anyway we had been obtaining the old style numerals automatically with just using small caps in the past.
> 
> I include a file with a minimal example (please disregard the "caption" re-definition). Note that I am cross-posting this to the two lists since it's not clear to me whether it is a Lucida issue or not.
> 
> Thanks for any idea.
> 
> 
> JMaF
> 
> 
> PS TeXShop's console after typesetting the enclosed sample file reads:
> =========================================================
> This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
> \write18 enabled.
> entering extended mode
> (./sample.tex
> LaTeX2e <2009/09/24>
> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
> rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
> c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
> h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
> h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
> icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
> iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
> lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
> ish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spani
> sh, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo))
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/fixltx2e.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/t1enc.def))
> (/Users/jmfont/Library/texmf/tex/latex/lucidabr/lucidabr.sty
> (/Users/jmfont/Library/texmf/tex/latex/lucida/t1hlh.fd))
> (/usr/local/texlive/2010/texmf-dist/tex/latex/ntheorem/ntheorem.sty
> Style `ntheorem', Version 1.31 <2011/02/16>
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/ifthen.sty)) (./sample.aux)
> (/Users/jmfont/Library/texmf/tex/latex/lucidabr/lmrhlcm.fd) [1{/Users/jmfont/Li
> brary/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./sample.aux
> ) ){/usr/local/texlive/2010/texmf-dist/fonts/enc/dvips/base/8r.enc}</Users/jmfo
> nt/Library/texmf/fonts/type1/bh/lucida/lbi.pfb></Users/jmfont/Library/texmf/fon
> ts/type1/bh/lucida/lbr.pfb></Users/jmfont/Library/texmf/fonts/type1/bh/lucida/l
> brsc.pfb>
> Output written on sample.pdf (1 page, 19736 bytes).
> SyncTeX written on sample.synctex.gz
> Transcript written on sample.log.
> 
> <sample.tex><sample.pdf>----------- Please Consult the Following Before Posting ---------

Howdy,

The lucida-sample.pdf documentation for Lucida says:

"By default, oldstyle figures from the textcomp package, accessed with the \oldstylenums command, are disabled for the Lucida fonts since they do not exist in all shapes. In order for \oldstylenums to work, you must add the line

\DeclareEncodingSubset{TS1}{hlh}{1}

to your preamble after loading the textcomp package. The font family hlhj provides the oldstyle figures by default but there exists no bold italic version of these figures and the italic versions are only available if you buy the complete font set."

So you need to add

\usepackage{textcomp}
\DeclareEncodingSubset{TS1}{hlh}{1}

after loading the lucidabr package.

It still doesn't automatically give old style figures when you use small caps.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list