> try
> \usepackage{ntheorem}
> \newtheorem{myExample}{Example}[chapter]
>
> in the lyx-text write
> \begin{myExample}
> blah blah
> \end{myExample}
>
> you can also use the follwing lyx-layout. save it as my.layout
> in ~/.lyx/layouts/ and insert in ~/.lyx/layouts/stdclass.inc
> at the end the line
> Input my.layout
>
> now you can choose inside lyx the style myExample, all
> other commands are made by lyx. if an examples follows direct another
> one,
> you have to insert a blank line with a ctrl-space and style standard.
> myExample is an environment, therefore lyx needs another style between
> two examples.


There is no file ~/.lyx/layouts/stdclass.inc on my system
(Win2K/Cygwin/Lyx). That file only does exist in my
/usr/local/lyx/share/layout directory. Should I change that file (brrrrr! I
don't like that to change because it's part of the distribution itself)? Or
should I create a file in my ~/.lyx/layouts directory? If so: what has to be
put into?

Kind regards
Claus


Reply via email to