Difference between revisions of "Rsfs"
Jump to navigation
Jump to search
(→Using Ralph Smith Formal Font: Another method.) |
m (→Using Ralph Smith Formal Font: Added an example of how the output looks like) |
||
Line 5: | Line 5: | ||
Ralph Smith's Formal Font [http://www.ctan.org/tex-archive/fonts/rsfs/] provides a bit more cursive caligarphic symbols. They can be used inside ConTeX by | Ralph Smith's Formal Font [http://www.ctan.org/tex-archive/fonts/rsfs/] provides a bit more cursive caligarphic symbols. They can be used inside ConTeX by | ||
− | < | + | <context source="yes"> |
\def\mathrsfs#1{\text{\definedfont[RalfSmithFormalScript]#1\/}} | \def\mathrsfs#1{\text{\definedfont[RalfSmithFormalScript]#1\/}} | ||
− | </ | + | \mathrsfs{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
+ | </context> | ||
'''Note:''' Since this is an italic script, one needs italic correction <code>\/</code> in the definition. | '''Note:''' Since this is an italic script, one needs italic correction <code>\/</code> in the definition. |
Revision as of 18:11, 28 November 2006
< Main Page | Math with newmat | MathML | Math_structures>
Using Ralph Smith Formal Font
Ralph Smith's Formal Font [1] provides a bit more cursive caligarphic symbols. They can be used inside ConTeX by
\def\mathrsfs#1{\text{\definedfont[RalfSmithFormalScript]#1\/}} \mathrsfs{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
Note: Since this is an italic script, one needs italic correction \/
in the definition.
Another method to use the font is
\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.