On Fri, 12 Jan 2007, Taco Hoekwater wrote:

> 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}}

Thank you. This is what I finally ended up using

\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] [scriptfamily] [mc]

\def\scr{\fam\purefamily{scriptfamily}}

\definetypeface [modern] [mm] [math] [modern] [ams] [encoding=texnansi]

\setupbodyfont[reset,modern,11pt]

\starttext

$\sum_{x \in \scr X}$

\stoptext


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

Reply via email to