Difference between revisions of "Rsfs"

From Wiki
Jump to navigation Jump to search
(How to use rsfs with context)
 
Line 10: Line 10:
  
 
'''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.
 +
 +
 +
Another method to use the font is
 +
<texcode>
 +
\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}
 +
</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.
 +
 +
  
 
[[Category:Math]]
 
[[Category:Math]]
 
[[Category:Fonts]]
 
[[Category:Fonts]]

Revision as of 18:42, 7 June 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\/}}

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.