Changes

Jump to navigation Jump to search
344 bytes added ,  16:28, 10 September 2012
m
moved rsfs to Rsfs: move to Uppercase
== Using Ralph Smith Formal Font ==
Ralph TeX provides calligraphic alphabets, which can be accessed using <cmd>cal</cmd> however, there are no script alphabets in Computer Modern or Latin Modern. Raph Smith's Formal Font [http://www.ctan.org/tex-archive/fonts/rsfs/] provides a bit more cursive calligraphic symbolsscript alphabets that blend well with Computer Modern and Latin Modern. They can be used inside ConTeX by ConTeXt as follows
<context source="yes">
\definefamilysynonym [default] [scriptfamily] [mc]
\def\scr{\fam\purefamily{scriptfamily}}% To use ${\scr ABC}$\def\script#1{{\scr#1}} % To use $\script{ABC}$
\definetypeface [modern] [mm] [math] [modern] [ams] [encoding=texnansi]
</context>
I less precise method of using them is== 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.
 
* The first method is to use rsfs10 for all font sizes
<context source="yes">
\def\mathrsfs#1{\text{\definedfont[RalfSmithFormalScript]#1\/}}
\mathrsfs{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
</context>
 
which does not use the correct font size. rsfs10 is used for bodyfont, scriptsize and scriptscriptsize.
 
'''Note:''' Since this is an italic script, one needs italic correction <code>\/</code> in the definition.
  * The ''plain tex'' way of using the font is:
<texcode>
\font\tenscr = rsfs10 at 12pt %bodyfontsize
</texcode>
 
With these defintions one can use <cmd>scr</cmd> just like <cmd>cal</cmd>. This method has the advantage that it uses different fonts (rsfs10, rsfs7, rsfs5) in body script and scriptscipt.

Navigation menu