[NTG-context] RSFS Font

Hans Hagen pragma at wxs.nl
Tue Apr 13 17:26:34 CEST 2010

On 13-4-2010 12:41, Otared Kavian wrote:
> On 13 avr. 2010, at 04:13, Troy Henderson wrote:
>> I'm trying to follow
>> http://wiki.contextgarden.net/rsfs
>> to get a script L in math mode (to denote Laplace Transform) but to no
>> avail.  I followed the code in the first section, but I get the
>> following compilation error.  Any help is appreciated.
>> Troy
> Hi Troy,
> The following works fine for me in mkii, but not in mkiv since, as you observe, the command
> \purefamily
> seems to have disappeared from mkiv:

Sure, as we have a complete different model now as in mkiv we take 
complete freedom to divert from the regular tex approach of families.

Anyhow, the following shoudl work out ok. You need the beta that i just 
uploaded as some extra checks were needed because these are non typical 
fonts. This is just a test. In order to have a nice solution we'd have 
to define a proper virtual setup (so in fact symbol then becomes a 
collection of alternatives; of course we can consider adding them the 
base lm set instead)


\chardef\msfam\plustwo % math symbol




\def\enablesymbolmath {\chardef\symbolmathmode\plusone  }

\to \mathstrategies



\starttypescript [math] [modern,computer-modern,latin-modern]
     \definefontsynonym[MathSymbol][MathSymbol-Regular at symbol-math]

\starttypescript [math] [modern,computer-modern,latin-modern] [size]

     % extras on top of regular and bold

         [ms=MathSymbol sa 1]


\usetypescript[modern] \setupbodyfont[modern,10pt]

\def\scr      {\ms}



\input knuth




\sum_{j \in \scr M} {\scr L}_{j} = {\scr P}.


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list