On Wed, 06 Mar 2002 22:39:47 +0100 wrote Herbert Voss
<[EMAIL PROTECTED]>:
> Robert Carnecky wrote:
>
> > But I have a problem. I am writing a mathematical article using the
> > "article (AMS)" class. Then I select the "definition" style ,
> > "Definition #." appears and I write my definition. But when I press
> > enter to make a new paragraph, I wasn't able to get a second "Definition
> > #.". Lyx just continues with the first definition, but I want to create
> > a second definition right after the first. How?
> >
> >
> > I want to get something like this:
> >
> > Definition 1: blabla
> >
> > Definition 2: blabla
>
>
> put the cursor into the second one and than
>
> layout->change environment depth
>
> the dvi-view shows it in your way.
To me it seems more like the problem with two paragraphs that belong to the
same environment style that lyx puts in just one environment. Although this
is handy for listings and quotes, it is cumbersome in cases you want several
instances of the same environment in sequence (Besides the AMS Definition,
another Example is the Landscape_Slide from seminar).
The workaround proposed in the User Guide is to insert a "mock paragraph"
between the two Definitions, i.e. in LyX
Definition 1: blabla (Definition Paragraph Style)
% Just a tex comment to please Lyx (LaTeX Paragraph Style or Standard with ERT)
Definition 2: blabla (Definition Paragraph Style)
Dear Developers,
As this workaround is not really WYSIWYM, I have the following Feature
Request: An option for use in *.layout files that distinguishes the two
cases of environment use, say:
# drop the \end{env-name} \begin{env-name} in case of subsequent
# paragraphs with same env-name
LatexType Environment # as is
# put a \begin{env-name} \end{env-name} around each paragraph
LatexType EnvironmentParagraph # new proposal
Guenter
--
[EMAIL PROTECTED]