Tue 15 Jun 2010 02:19:50 PM UTC, original submission:
code environments, or code content tags do not render the tt font bold at all when emphasis strong is chosen.
Here's my notes from newfangle literate programming tool for Lyx which may be useful: (http://www.nongnu.org/newfangle/docs/newfangle.e/newfangle.html)
Please can Texmacs support some kind of method like this. (I don't know how the txfonts solution actually works)
Obtaining a bold tt font can be impossibly difficult and amazingly easy. I spent many hours at it, following complicated instructions from those who had spend many hours over it, and was finally delivered the simple solution on the lyx mailing list.
3.2 txfonts
The simple way was to add this to my preamble:
\usepackage{txfonts}
\renewcommand{\ttdefault}{txtt}
3.3 ams pmb
The next simplest way was to use ams poor-mans-bold, and add this to the pre-amble:
\usepackage{amsbsy}
%\renewcommand{\ttdefault}{txtt}
%somehow make \pmb be the command for bold, forgot how, sorry
It works, but looks wretched on the dvi viewer.
3.4 Luximono
The lstlistings documention suggests using Luximono.
Luximono was installed according to the instructions in Ubuntu Forums: http://ubuntuforums.org/showthread.php?t=1159181 with tips from http://miknight.blogspot.com/2005/ 11/how-to-install-luxi-mono-font-in.html stating that:
sudo updmap --enable MixedMap ul9.map
is required.
It looks fine in PDF and PS view but still looks rotten in dvi view.
|