Re: disabling microtype for lyxcode

2007-12-09 Thread Jürgen Spitzmüller
[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


Re: disabling microtype for lyxcode

2007-12-09 Thread Jürgen Spitzmüller
[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


Re: disabling microtype for lyxcode

2007-12-09 Thread Jürgen Spitzmüller
[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


disabling microtype for lyxcode

2007-12-08 Thread reed
I noticed that my formatted text in a lyxcode environments didn't line up 
even though it was the fixed face.

This was caused by using the microtype package.

Using microtype shortens my 603 page book to 599 pages.

I am curious if there is any way to disable it just for my lyxcode 
environments?

I see \microtypesetup{expansion=false} but I don't know much about 
activate and protrusion and expansion.

Any ideas?

Or I can just keep microtype disabled.

  Jeremy C. Reed

p.s. If anyone is available to quickly give feedback on my cover ideas or 
book layout, please let me know.


disabling microtype for lyxcode

2007-12-08 Thread reed
I noticed that my formatted text in a lyxcode environments didn't line up 
even though it was the fixed face.

This was caused by using the microtype package.

Using microtype shortens my 603 page book to 599 pages.

I am curious if there is any way to disable it just for my lyxcode 
environments?

I see \microtypesetup{expansion=false} but I don't know much about 
activate and protrusion and expansion.

Any ideas?

Or I can just keep microtype disabled.

  Jeremy C. Reed

p.s. If anyone is available to quickly give feedback on my cover ideas or 
book layout, please let me know.


disabling microtype for lyxcode

2007-12-08 Thread reed
I noticed that my formatted text in a lyxcode environments didn't line up 
even though it was the fixed face.

This was caused by using the microtype package.

Using microtype shortens my 603 page book to 599 pages.

I am curious if there is any way to disable it just for my lyxcode 
environments?

I see \microtypesetup{expansion=false} but I don't know much about 
activate and protrusion and expansion.

Any ideas?

Or I can just keep microtype disabled.

  Jeremy C. Reed

p.s. If anyone is available to quickly give feedback on my cover ideas or 
book layout, please let me know.