[texhax] adding boldface to \tt
Oleg Katsitadze
olegkat at gmail.com
Mon Oct 23 12:38:42 CEST 2006
On Fri, Oct 20, 2006 at 10:51:39AM -0400, George Georgalis wrote:
> What is the best way to make \tt display in boldface as well as
> typewriter style?
There is a FAQ entry on this:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bold-extras
but it doesn't help if you need Computer Modern Type 1 bold
tt. If you do need this, you might try scaling cmtt8 to a
bigger size -- this will give some boldness to it compared
to the "normal" tt font at that size. In practice this
seems to only work when you scale cmtt8 to match a 12pt
size:
\font\twelvebtt = cmtt8 at 12.7pt
looks a little bolder than cmtt12. Of course, this is ugly
for any "real" typesetting, but if you just need to put a
couple of bold tt words inside your section heading, this
might be better than nothing.
HTH,
Oleg
More information about the texhax
mailing list