Difference between revisions of "Rsfs"

From Wiki
Jump to navigation Jump to search
m (→‎Using Ralph Smith Formal Font: Added an example of how the output looks like)
m (changed linked to "Math structures)
Line 1: Line 1:
< [[Main Page]] | [[Math with newmat]] | [[MathML]] | [[Math_structures]]>
+
< [[Main Page]] | [[Math with newmat]] | [[MathML]] | [[Multiline equations]]>
  
 
== Using Ralph Smith Formal Font ==
 
== Using Ralph Smith Formal Font ==

Revision as of 08:45, 29 November 2006

< Main Page | Math with newmat | MathML | Multiline equations>

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.