On 22.06.04, Jiri Palecek wrote:
>
> Theorem 1: this is theorem 1
> this is the second paragraph of theorem 1
> Theorem 2: this is the 2nd theorem
>
> Is there a possibility to do this (not by inserting a paragraph
> with font size 1 or so -- this is only acceptable from MS Word users
> which haven't seen anything else yet)?
No, you have to resort to a "wordish" way of doing it: insert an empty
paragraph, e.g. "{}" in ERT.
The Problem is, that IMHO LyX's layout syntax misses one LatexType
(Besides the Paragraph, Command, Environment and ListEnvironment).
"Environment" encloses subsequent paragraphs of same type into one \begin
\end pair. While this is ok for e.g. Quote, it is bad for a number of
other environments, like theorem or slide (in seminar), that nest stuff
inside.
My suggestion would be a new term, say ContainerEnvironment, that will
translate a paragraph break into a new \begin \end pair.
I did a hack to prevent the use of ERT in my seminar.layout. This could
easily be adapted to theorem or made a generic "environment-separator".
# This is a dummy style whose main purpose is to separate subsequent Slide
# environments. For latex it is a normal Standard style, but in LyX you will
# also see a nice label and have the possibility to leave the paragraph empty
Style EndOfSlide
CopyStyle LandscapeSlide
LatexType Paragraph
LabelString "____________________________ End of Slide
____________________________"
LabelBottomSep 1.5
# LeftMargin ""
End
sincerely
G�nter
--
G.Milde at web.de