* Sam Liddicott wrote, On 11/11/09 15:48:
I've been struggling for a long time to get poor-mans-bold working (because of the pain installing luximono) and now I've got it working, I post the answer here:

In your pre-amble:
\usepackage{amsbsy}

and then to have bold ttfamily text, \ttfamily\pmb{bold}

With lstlistings, I just do:

\lstset{
basicstyle=\small\ttfamily,
keywordstyle=\pmb
}


Also:

\usepackage{amsbsy}
\let\oldlyxcode\lyxcode
\renewcommand{\lyxcode}{\def\strong{\pmb}\oldlyxcode}

I suppose there may be a neater way for \strong to be defined to \pmb in things other than lyxcode?

Sam

Reply via email to