Rsfs

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-12

Using Ralph Smith Formal Font

TeX provides calligraphic alphabets, which can be accessed using \cal however, there are no script alphabets in Computer Modern or Latin Modern. Raph Smith's Formal Font [1] provides script alphabets that blend well with Computer Modern and Latin Modern. They can be used inside ConTeXt as follows

Improper ways to use the font

These methods are listed for people who want a stop gap solution for other fonts. These should not be used for RSFS.

Note: Since this is an italic script, one needs italic correction \/ in the definition.

 \font\tenscr   = rsfs10 at 12pt %bodyfontsize
 \font\sevenscr = rsfs7  at 9pt  %scriptfontsize
 \font\fivescr  = rsfs5  at 7pt  %scriptscriptfontsize

 \skewchar\tenscr   = '177
 \skewchar\sevenscr = '177
 \skewchar\fivescr  = '177

 \newfam\scrfam

 \textfont\scrfam         = \tenscr
 \scriptfont\scrfam       = \sevenscr
 \scriptscriptfont\scrfam = \fivescr

 \def\scr{\fam\scrfam}

With these defintions one can use \scr just like \cal. This method has the advantage that it uses different fonts (rsfs10, rsfs7, rsfs5) in body script and scriptscipt.