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). Thanks, Roberto