Using the default typesetting font some characters like '>>' were
interpreted as a single character and will be shown as a black square in any
viewer!
I have succesfully changed the font used in algorithm floats as follows in
the LyX preamble:
\newcommand{\algjlst}[1]{%
\lstinputlisting[stringspaces=false,frame={},tabsize=3,
lineskip=-1pt,extendedchars=true,
basicstyle=\fontfamily{pcr}\fontseries{m}\selectfont\footnotesize,
labelstep=1,labelstyle=\tiny,indent=2em,language=Java,
breaklines]{#1}\vspace{1ex}%
}
With this preamble all characters are presented correctly in any algorithm
environment. But any typesetting characters used in any standard environment
(by just changing the font family inside LyX) still will present those black
squares.
How can I change the default typesetting font to the font used above??
Tnanks in advance
Claus