Herbert Voss wrote: > Vladimir Prus wrote: > >> I am not able to make parts of code inside Lyx-code bold. I create empty >> document, set the style to Lyx-code, type something, then select a line >> and go to Layout->Charater. I set bold font and it's shown in bold on the >> screen, but in PS output the line has the same font as other lines. >> >> I've found this report about such problem >> >> http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg23302.html >> >> but it did not help. I've tried setting "Times" font in document >> settings, and I also have "T1" as default encoding -- both things were >> suggested as solution. However, it still does not work. > > you need a fixed font with bold characters like the one from > LuxiMono. Install it or maybe that you have it install. > Then write into the preamble: > > \usepackage[scaled]{luximono} > \renewcommand{\ttdefault}{ul9}% Luxi Mono
Hi Herbert, unfortunately, I did not found that font in Debian, but while searching I found scalable-cyrfonts package which also provides bold version of tt fonts and as an additional bonus makes PDF readable in Acroread. Thanks for the help! - Volodya