summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-manymathalph.html
blob: fb49a189c08d2f755ef78578e20b69d01c862fd0 (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
<head>
<title>UK TeX FAQ -- question label manymathalph</title>
</head><body>
<h3>Too many math alphabets</h3>
<p/>TeX mathematics is one of its most impressive features, yet the
internal structure of the mechanism that produces it is painfully
complicated and (in some senses) pathetically limited.  One area of
limitation is that one is only allowed 16 &#8221;maths alphabets&#8221;
<p/>LaTeX offers the user quite a lot of flexibility with allocating
maths alphabets, but few people use the flexibility directly.
Nevertheless, there are many packages that provide symbols, or that
manipulate them, which allocate themselves one or more maths alphabet.
<p/>If you can&#8217;t afford to drop any of these packages, there&#8217;s
still hope if you&#8217;re using the <i>bm</i> package to support
<a href="FAQ-boldgreek.html">bold maths</a>: <i>bm</i> is capable
of gobbling alphabets as if there is no tomorrow.  The package defines
two limiter commands: <code>\</code><code>bmmax</code> (for <em>bold</em> symbols; default 4)
and <code>\</code><code>hmmax</code> (for <em>heavy</em> symbols, if you have them;
default 3), which control the number of alphabets to be used.  
<p/>Any reduction of the <code>\</code><code><em>xx</code>max</em> variables will slow
<i>bm</i> down &#8212; but that&#8217;s surely better than the document not
running at all.  So unless you&#8217;re using maths fonts (such as
<i>Mathtime Plus</i>) that feature a heavy symbol weight, suppress all
use of heavy families by
<blockquote>
<pre>
  \newcommand{\hmmax}{0}
</pre>
</blockquote><p>
(before loading <i>bm</i>), and then steadily reduce the bold
families, starting with 
<blockquote>
<pre>
  \newcommand{\bmmax}{3}
</pre>
</blockquote><p>
(again before loading <i>bm</i>), until (with a bit of luck) the
error goes away.
<dl>
<dt><tt><i>bm.sty</i></tt><dd>Distributed as part of <a href="http://mirror.ctan.org/macros/latex/required/tools.zip">macros/latex/required/tools</a> (or <a href="http://mirror.ctan.org/macros/latex/required/tools/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/bm.html">catalogue entry</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=manymathalph">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=manymathalph</a>
</body>