summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-boldgreek.html
blob: 5643a3b2b5496a4758095e7acdccc4a00b967c96 (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
<head>
<title>UK TeX FAQ -- question label boldgreek</title>
</head><body>
<h3>Setting bold Greek letters in LaTeX</h3>
<p/>The issue here is complicated by the fact that <code>\</code><code>mathbf</code> (the
command for setting bold <em>text</em> in TeX maths) affects a select
few mathematical symbols (the uppercase Greek letters).  However
lower-case Greek letters behave differently from upper-case Greek
letters (due to Knuth&#8217;s esoteric font encoding decisions).  However,
<code>\</code><code>mathbf</code> <em>can&#8217;t</em> be used even for upper-case Greek letters in
the AMSLaTeX <i>amsmath</i> package, which
disables this font-switching and you must use one of the techniques
outlined below.
<p/>The Plain TeX solution <em>does</em> work, in a limited way:
<blockquote>
<pre>
{\boldmath$\theta$}
</pre>
</blockquote><p>
but <code>\</code><code>boldmath</code> may not be used in maths mode, so this &#8216;solution&#8217;
requires arcana such as:
<blockquote>
<pre>
$... \mbox{\boldmath$\theta$} ...$
</pre>
</blockquote><p>
which then causes problems in superscripts, etc.
<p/>These problems may be addressed by using a bold mathematics package.
<ul>
<li> The <i>bm</i> package, which is part of the LaTeX tools
  distribution, defines a command <code>\</code><code>bm</code> which may be used anywhere
  in maths mode.
<li> The <i>amsbsy</i> package (which is part of AMSLaTeX)
  defines a command <code>\</code><code>boldsymbol</code>, which (though slightly less
  comprehensive than <code>\</code><code>bm</code>) covers almost all common cases.
</ul>
<p/>All these solutions cover all mathematical symbols, not merely Greek
letters.
<dl>
<dt><tt><i>bm.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/bm.html">catalogue entry</a>
<dt><tt><i>amsbsy.sty</i></tt><dd>Distributed as part of AMSLaTeX <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/amsbsy.html">catalogue entry</a>
<dt><tt><i>amsmath.sty</i></tt><dd>Distributed as part of AMSLaTeX
  <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/amsmath.html">catalogue entry</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=boldgreek">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=boldgreek</a>
</body>