summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pzccal/pzccal.sty.html
blob: ae7d435264ebd68b5b70a9678bff8bc2abaacfa5 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.8: http://docutils.sourceforge.net/" />
<title>pzccal.sty: calligraphic math alphabet with Zapf Chancery</title>
<meta name="copyright" content="© 2008, 2010 Günter Milde" />
<link rel="stylesheet" href="../../../../Code/Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
<link rel="stylesheet" href="../../../../Code/Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
</head>
<body>
<div class="document" id="pzccal-sty-calligraphic-math-alphabet-with-zapf-chancery">
<h1 class="title">pzccal.sty: calligraphic math alphabet with Zapf Chancery</h1>

<dl class="docinfo">
<dt class="copyright">Copyright</dt>
<dd class="copyright">© 2008, 2010 Günter Milde</dd>
<dt>Licence</dt>
<dd><p>This work may be distributed and/or modified under the
conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
version&nbsp;1.3 of this license or (at your option) any later version.</p>
</dd>
<dt>Identification</dt>
<dd><pre class="literal-block">\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pzccal}
[2011/02/03 v0.1 Zapf Chancery calligraphic math alphabet]
</pre>
</dd>
</dl>
<p><a class="reference external" href="http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf">The Comprehensive LaTeX Symbol List</a> by Scott Pakin describes the
use of Zapf Chancery as a mathematical alphabet that contains capital
and small Latin letters as well as digits. This allows full coverage
of the <cite>script</cite> Unicode Mathematical Alphabet with 8-bit LaTeX
engines.</p>
<p>This package sets up the Zapf Chancery font as script (calligraphic)
math alphabet <tt class="literal">\mathpzc</tt>. It provides options to scale the font and to
configure the alias command name. By default, <cite>pzccal</cite> overwrites the
predefined math alphabet command <tt class="literal">\mathcal</tt>.</p>
<div class="section" id="options">
<h1>Options</h1>
<p>Options are defined with the key=value interface provided by
<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kvoptions.html">kvoptions</a>:</p>
<pre class="literal-block">\RequirePackage{kvoptions}
</pre>
<div class="section" id="cmdname">
<h2>cmdname</h2>
<p>The name of the math alphabet command alias (default <tt class="literal">\mathcal</tt>).
An existing command is overwritten without asking.</p>
<pre class="literal-block">\DeclareStringOption[mathcal]{cmdname}
</pre>
</div>
<div class="section" id="mathcal-mathscr-mathpzc">
<h2>mathcal, mathscr, mathpzc</h2>
<p>For compatibility with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/eucal.html">eucal</a>, the <tt class="literal">mathcal</tt> and <tt class="literal">mathscr</tt> options
are equivalent to <tt class="literal">cmdname=mathcal</tt> and <tt class="literal">cmdname=mathscr</tt>. The
option <tt class="literal">mathpzc</tt> prevents aliasing to a new name:</p>
<pre class="literal-block">\DeclareVoidOption{mathcal}{} % this is the default
\DeclareVoidOption{mathscr}{\renewcommand{\pzccal&#64;cmdname}{mathscr}}
\DeclareVoidOption{mathpzc}{\renewcommand{\pzccal&#64;cmdname}{mathpzc}}
</pre>
</div>
<div class="section" id="scaled">
<h2>scaled</h2>
<p>The Zapf Chancery font can be scaled with the <tt class="literal">scaled</tt> option. The
default is to enlarge the font to get a matching size without making
it too dark:</p>
<pre class="literal-block">\DeclareStringOption[1.125]{scaled}

\ProcessKeyvalOptions*
</pre>
</div>
</div>
<div class="section" id="implementation">
<h1>Implementation</h1>
<div class="section" id="scaling">
<h2>Scaling</h2>
<p>Define the font family <tt class="literal">pzcm</tt> as a scaled variant of <tt class="literal">pzc</tt>:</p>
<pre class="literal-block">\DeclareFontFamily{OT1}{pzcm}{}
\DeclareFontShape{OT1}{pzcm}{mb}{it}{&lt;-&gt; s * [\pzccal&#64;scaled] pzcmi7t}{}
</pre>
</div>
<div class="section" id="setup">
<h2>Setup</h2>
<p>As suggested in <a class="reference external" href="http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf">The Comprehensive LaTeX Symbol List</a>:</p>
<pre class="literal-block">\DeclareMathAlphabet{\mathpzc}{OT1}{pzcm}{mb}{it}
</pre>
</div>
<div class="section" id="alias">
<h2>Alias</h2>
<p>Make the new alphabet available under the command specified by the
<tt class="literal">cmdname</tt> option (default: overwrite``mathcal``):</p>
<pre class="literal-block">\&#64;namedef\pzccal&#64;cmdname{\mathpzc}
</pre>
<div class="section" id="references">
<h3>References</h3>
<p>Alternative LaTeX script fonts that might be useful in math:</p>
<dl class="field-list simple">
<dt>Auriocus Kalligraphicus</dt>
<dd><p><a class="reference external" href="http://www.tug.dk/FontCatalogue/aurical/">http://www.tug.dk/FontCatalogue/aurical/</a></p>
</dd>
<dt>Calligra</dt>
<dd><p><a class="reference external" href="http://www.tug.dk/FontCatalogue/calligra/">http://www.tug.dk/FontCatalogue/calligra/</a> (bitmap)</p>
</dd>
<dt>Jana Skrivana</dt>
<dd><p><a class="reference external" href="http://www.tug.dk/FontCatalogue/janaskrivana/">http://www.tug.dk/FontCatalogue/janaskrivana/</a></p>
</dd>
<dt>Vicentino</dt>
<dd><p><a class="reference external" href="http://www.tug.dk/FontCatalogue/vicentino/">http://www.tug.dk/FontCatalogue/vicentino/</a> (bitmap)</p>
</dd>
</dl>
</div>
</div>
</div>
</div>
</body>
</html>