[NTG-context] ConTeXt equivalent of plain tex method of loading fonts

Taco Hoekwater taco at elvenkind.com
Fri Jan 12 16:33:13 CET 2007


Aditya Mahajan wrote:
> Hi,
> 
> I was using rsfs (RalfSmithFormalScript) using the definition
> 
> then I get rsfs7 in the subscripts. So, what is the ConTeXt equivalent 
> of the above plain tex method of loading rsfs?

Something like this, I guess (probably not enough, but it should
give you an idea)

\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
   \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt][mm][mc=rsfs10 sa 1]
   \definebodyfont [8pt,7pt] [mm] [mc=rsfs7 sa 1]
   \definebodyfont [6pt,5pt,4pt] [mm] [mc=rsfs5 sa 1]
\stoptypescript

\definefamilysynonym [default] [scr]   [mc]

\def\mathrsfs#1{{\scr #1}}

Best, Taco


More information about the ntg-context mailing list