[NTG-context] Font for enumeration
Taco Hoekwater
taco at elvenkind.com
Fri Dec 29 10:39:58 CET 2006
Rolf Marvin Bøe Lindgren wrote:
> consider the following setup:
>
> \startitemize[m]
> \item this
> \item that
> \item the other
> \stopitemize
>
> this should give enumeration using oldstyle numbers. now, I have
> created my own typescript file that sets everything to Sabon, except
> the oldstyle numbers in question, which are set using computer
> modern's oldstyle numbers. what do I do to get the base font here?
> I have set up my typescript file so that {\Var[osf] 123} are set
> using the base fonts oldstyle numbers.
Untested, but should work:
\def\varosfnumbers#1{{\Var[osf] #1}}
\defineconversion[varosf][\varosfnumbers]
\startitemize[varosf]
\item this
\item that
\item the other
\stopitemize
Best, Taco
More information about the ntg-context
mailing list