[EMAIL PROTECTED] wrote:
> I am curious if there is any way to disable it just for my lyxcode
> environments?

Given that your lyxcode is set in typewriter, you can disable the character 
protusion and expansion for typewriter (and math, for that matter) with

\usepackage[protusion=basictext, expansion=basictext]{microtype}

If you really want to limit the restrictions to lyxcode only, you could define 
in the preamble

\let\oldlyxcode\lyxcode
\renewenvironment{lyxcode}{%
    \microtypesetup{expansion=false, protusion=false}\oldlyxcode}
{\end{list}}

See the microtype documentation for further configuration possibilities. 

Jürgen

Reply via email to