summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-scriptfonts.html
blob: f0b21c4a3975e5966001a036b6d4e7966386c9c4 (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
55
<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.  The package
  creates a new command <code>\</code><code>mathscr</code>.
<p/>  Type 1 versions of the font have been made available by Taco
  Hoekwater.
<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 and is distributed with
  <i>ghostscript</i>.
</dl>
Examples of the available styles are available on CTAN.
<dl>
<dt><tt><i>eucal.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/fonts/amsfonts/latex/eucal.sty">fonts/amsfonts/latex/eucal.sty</a>
<dt><tt><i>euler fonts</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/fonts/amsfonts/sources/euler.zip">fonts/amsfonts/sources/euler</a> (<a href="ftp://cam.ctan.org/tex-archive/fonts/amsfonts/sources/euler.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/fonts/amsfonts/sources/euler/">browse</a>)
<dt><tt><i>euler fonts, in Type 1 format</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/fonts/amsfonts/ps-type1/">fonts/amsfonts/ps-type1/</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="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/jknappen.zip">macros/latex/contrib/jknappen</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/jknappen.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/jknappen/">browse</a>)
<dt><tt><i>rsfs fonts</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/fonts/rsfs.zip">fonts/rsfs</a> (<a href="ftp://cam.ctan.org/tex-archive/fonts/rsfs.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/fonts/rsfs/">browse</a>)
<dt><tt><i>rsfs fonts, in Type 1 format</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/fonts/rsfs/ps-type1/hoekwater.zip">fonts/rsfs/ps-type1/hoekwater</a> (<a href="ftp://cam.ctan.org/tex-archive/fonts/rsfs/ps-type1/hoekwater.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/fonts/rsfs/ps-type1/hoekwater/">browse</a>)
<dt><tt><i>Script font examples</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/info/symbols/math/scriptfonts.pdf">info/symbols/math/scriptfonts.pdf</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>