Am Donnerstag, 7. April 2005 12:00 schrieb Hans Hagen <[EMAIL PROTECTED]>:


> % define a typeface
>
> \definetypeface [modern] [rm] [serif] [modern-base] [default]
> \definetypeface [modern] [ss] [sans]  [modern-base] [default]
> \definetypeface [modern] [tt] [mono]  [modern-base] [default]
> \definetypeface [modern] [mm] [math]  [modern-base] [default]
>
> % overloaad a mapping
>
> % \startfontclass[modern]
> %   \definefontsynonym [ComputerModernMath-Roman]  [ComputerModernSans]
> %   \definefontsynonym [ComputerModernMath-Italic]
> [ComputerModernSans-Italic] % \stopfontclass
>
> \startfontclass[modern]
>    \definefontsynonym [MathRoman]  [Sans]
>    \definefontsynonym [MathItalic] [SansItalic]
> \stopfontclass
>
> % initialize the typeface
>
> \setupbodyfont[modern,ss]
>
> \starttext
> Some text, we can read it without serifs. But the formula: $ \frac{1}{x-2}
> $ is not in the same font.
> \stoptext
>
> you can put this in one of the dark corners of the wiki -)

Thank you Hans,

but for me ist results in :

! Undefined control sequence.
l.15 \startfontclass
                    [modern]

Whats wrong?

Kai

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to