To get old-style numerals as the default, the accepted solutions seems to be the following: \usetypescript [modern][\defaultencoding] \usetypescript [map] [latin-modern-os] [\defaultencoding] \setupbodyfont[modern] However, this causes old-style numbers to be used for \type as well, which looks weird. Is there a way to override the switching to old-style numerals for the fixed-width typeface? Example: \usetypescript [modern][\defaultencoding] \usetypescript [map] [latin-modern-os] [\defaultencoding] \setupbodyfont[modern] \starttext 1 2 3 \type{1 2 3} \stoptext Thanks, nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull said this at Thu, 16 Jun 2005 14:50:32 +0200:
However, this causes old-style numbers to be used for \type as well, which looks weird. Is there a way to override the switching to old-style numerals for the fixed-width typeface?
Variants on variants, here... That makes sense, typographically. All I did was hack a few lines in the texnansi-os-public-lm.map file so that the tt fonts used the original encoding. UNzip and rehash with the attached file, and test it with this: \usetypescript [modern][texnansi] \loadmapfile[texnansi-oslftt-public-lm] \setupbodyfont[modern] \starttext 1 2 3 \type{1 2 3} \stoptext ...adapting it to the typescript[map] idiom and to other encodings is left as an exercise for the reader. :) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (2)
-
Adam Lindsay
-
Nikolai Weibull