I need to use Lyx-Code style in a layout that doesn't 
have it.  So I copied the Lyx-Code style into my layout.
It works except that multiple spaces are compressed into
a single space.

I experimented and determined that if I modified 
article.layout and amsart.layout to be the same except that
one has the line  

#  \DeclareLaTeXClass{article (AMS)}

and the other has the line


#  \DeclareLaTeXClass{article}

then the article.layout version has multiple spaces in style Lyx-Code
but the amsart.layout version does not.

--------------------------------------------------------
Could someone explain this?
And explain how I can modify my document class to use
Lyx-Code with multiple spaces?
--------------------------------------------------------


Note:  I do not have sysadmin privalages so cannot modify
the standard layouts and apparently cannot create a new
one in my .lyx/layouts directory.  I run config and then
check the list of classes in the popup  Layout/document.../class
but the new layout is not listed.  (Yes, I exit lyx and then restart
lyx.)

What I do is modify the standard layouts in my .lyx/layouts directory
to get the layout that I want.  This is crude but gives
me what I need until this can be sorted out.

Hopefully I can create my own layouts when I upgrade.
I  don't see why any of this relates to the problem
I have with Lyx-Code but I thought I should let you
know.

Thanks 

Ralph Boland

Currently I am using  lyx 1.0.4 and will upgrade when 
the next stable version is released in  ???.

Reply via email to