summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-scriptfonts.html
blob: 4a867aa56075406397be80d4a5e3ff3339ce086a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<head>
<title>UK TeX FAQ -- question label scriptfonts</title>
</head><body>
<h3>Better script fonts for maths</h3>
<p/>The font selected by <code>\</code><code>mathcal</code> is the only script font &lsquo;built
in&rsquo;. However, there are other useful calligraphic fonts included with
modern TeX distributions.
<dl>
<dt>Euler<dd> The <i>eucal</i> package (part of most sensible TeX
  distributions; the fonts are part of the AMS font set) gives
  a slightly curlier font than the default. The package changes the
  font that is selected by <code>\</code><code>mathcal</code>.
<p/>  Type 1 versions of the fonts are available in the AMS fonts
  distribution.
<dt>RSFS<dd> The <i>mathrsfs</i> package uses a really fancy script
  font (the name stands for &ldquo;Ralph Smith&rsquo;s Formal Script&rdquo;) which is
  already part of most modern TeX distributions (Type 1 versions of
  the font are also provided, courtesy of Taco Hoekwater).  The package
  creates a new command <code>\</code><code>mathscr</code>.
<dt>Zapf Chancery<dd> is the standard PostScript calligraphic font.  There
  is no package but you can easily make it available by means of the
  command
<pre>
\DeclareMathAlphabet{\mathscr}{OT1}{pzc}%
                                 {m}{it}
</pre>
  in your preamble.  You may find the font rather too big; if so, you
  can use a scaled version of it like this:
<pre>
\DeclareFontFamily{OT1}{pzc}{}
\DeclareFontShape{OT1}{pzc}{m}{it}%
             {&lt;-&gt; s * [0.900] pzcmi7t}{}
\DeclareMathAlphabet{\mathscr}{OT1}{pzc}%
                                 {m}{it}
</pre>
<p/>  Adobe Zapf Chancery (which the above examples use) is distributed in
  any but the most basic PostScript printers.  A substantially identical
  font (to the extent that the same metrics may be used) is
  available from URW, called URW Chancery L: it is distributed
  with Ghostscript, and as part of the &ldquo;URW base35&rdquo; bundle, which is
  available in most distributions.
</dl>
Examples of the available styles are available on CTAN.
<dl>
<dt><tt><i>eucal.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/fonts/amsfonts.zip">fonts/amsfonts</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/amsfonts/">browse the directory</a>)
<dt><tt><i>euler fonts</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/fonts/amsfonts.zip">fonts/amsfonts</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/amsfonts/">browse the directory</a>)
<dt><tt><i>ghostscript</i></tt><dd>Browse <a href="http://www.tex.ac.uk/tex-archive/support/ghostscript/">support/ghostscript/</a>
<dt><tt><i>mathrsfs.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/jknappen.zip">macros/latex/contrib/jknappen</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/jknappen/">browse the directory</a>)
<dt><tt><i>rsfs fonts</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/fonts/rsfs.zip">fonts/rsfs</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/rsfs/">browse the directory</a>)
<dt><tt><i>Script font examples</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/info/symbols/math/scriptfonts.pdf">info/symbols/math/scriptfonts.pdf</a>
<dt><tt><i>URW Chancery L</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/fonts/urw/base35.zip">fonts/urw/base35</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/urw/base35/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=scriptfonts">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=scriptfonts</a>
</body>