summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-bold-extras.html
blob: ecdb5ec7b6c3174311f9b77b31b090974b740058 (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 bold-extras</title>
</head><body>
<h3>How to do bold-tt or bold-sc</h3>
<p/>LaTeX, as delivered, offers no means of handling bold &#8220;teletype&#8221;
or small-caps fonts.  There&#8217;s a practical reason for this (Knuth never
designed such fonts), but there are typographical considerations too
(the &#8220;medium weight&#8221; <code>cmtt</code> font is already pretty bold (by
comparison with other fixed-width fonts), and bold small-caps is not
popular with many professional typographers).
<p/>There&#8217;s a set of &#8220;extra&#8221; Metafont files on CTAN that provide bold
versions of both <code>cmtt</code> and <code>cmcsc</code> (the small caps font).  With
modern TeX distributions, one may bring these fonts into use simply
by placing them in an 
<a href="FAQ-install-where.html">appropriate place in the <em>texmf</em> tree</a>
(these are (La)TeX-specific files, so the &#8220;<em>public</em>&#8221; supplier
would be an appropriate place).  Once you&#8217;ve 
<a href="FAQ-inst-wlcf.html">rebuilt the file indexes as necessary</a>,
TeX (and friends) will automatically build whatever font files they
need when you first make reference to them.  There&#8217;s a jiffy package
<i>bold-extra</i> that builds the necessary font data structures
so that you can use the fonts within LaTeX.
<p/>Another alternative is to use the <a href="FAQ-ECfonts.html">EC fonts</a>,
which come with bold variants of the small-caps fonts.
<p/>If you need to use Type 1 fonts, you can&#8217;t proceed with Knuth-style
fonts, since there are no Type 1 versions of the <i>mf-extra</i>
set.  There are, however, Type 1 distributions of the EC fonts, so you
can switch to EC and use them; alternatives are discussed in
<a href="FAQ-type1T1.html">8-bit Type 1 fonts</a>.
<p/>Of course, commercial fixed-width fonts (even the default
<i>Courier</i>) almost always come with a bold variant, so that&#8217;s
not a problem.  Furthermore <a href="FAQ-usepsfont.html">PSNFSS</a>
will usually provide &#8220;faked&#8221; small caps fonts, and has no
compunctions about providing them in a bold form.  <i>Courier</i>
is (as we all know, to our cost) freely available; a far more
presentable monospace font is <i>LuxiMono</i>, which is also
freely available (monospace text in the typeset version of this
FAQ uses <i>LuxiMono</i>, with the metrics and LaTeX
support available on the archive.
<dl>
<dt><tt><i>bold-extra.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/bold-extra.zip">macros/latex/contrib/bold-extra</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/bold-extra/">browse the directory</a>)
<dt><tt><i>bold tt and small caps fonts</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/fonts/cm/mf-extra/bold.zip">fonts/cm/mf-extra/bold</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/cm/mf-extra/bold/">browse the directory</a>)
<dt><tt><i>LuxiMono fonts</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/fonts/LuxiMono.zip">fonts/LuxiMono</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/LuxiMono/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bold-extras">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bold-extras</a>
</body>