On Mon, Jan 28, 2002 at 08:09:52AM -0300, Roberto Hernandez wrote:
> Herbert Voss wrote:
> 
> > Roberto Hernandez wrote:
> > 
> >> Now I have one more question. I noticed in your example file from 
> >> LyXTips that if you use typewriter fonts there is no keyworkd 
> >> highlighting. Is there any font that behaves like the typewriter font 
> >> (that is every character uses the same amount of space) and also 
> >> allows for syntax highlighting?
> > 
> > 
> > choose a typewriter font with bold characters, like times.
> I tried with:
> 
> \fontfamily{pcr}\fontseries{m}\selectfont   (is that it?)
> 
> but space characters aren't as wide as the rest of the characters (I 
> believe it's called kerning).

All the characters it the courier font should have the same width.

An alternative to using courier, you can get bold version of the cmtt font
from CTAN, or use \pmb for bold.

Reply via email to