First of all: A happy new your to all of you ;-)

Many tnaks to all who have given me answers to my question before! So far I
do have fixed most problems concerning the numbering of paragraphs. But
there are left some problems which -- although studying the ntheorem doc
file -- I cannot solve for myself:

    1. I want the paragraph indented without the first line! (like the
description environment).  The latex command \theoremindent1cm will indent
the whole paragraph, i.e. including the first line!

    2. I want to change the environment depth for the following paragraph in
case that this is for example a 'Standard' or 'Itemize' layout!

Is that possible with the ntheorem package (or something else)? I do append
my current  layout to this mail!

Claus

#===================================================================
# File ~/.lyx/layouts/my.inc
#===================================================================
Style Aufgabe
  Margin                First_Dynamic
  LatexType             Command
  LatexName             myAufgabe
#  NextNoIndent          1
#  KeepEmpty             1
#  LeftMargin            xxxxxxxxxx::xx
  LabelSep              xxx
  ParSkip               0.4
  ItemSep               0.2
  TopSep                1.5
  BottomSep             0.7
  ParSep                0.3
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Aufgabe #:"
  Font
    Shape               Normal
  EndFont
  LabelFont
    series              bold
    Shape               Italic
    Color               Blue
  EndFont
Preamble
  \usepackage{ntheorem}
  \theorembodyfont{\normalfont}
  \theoremseparator{:}
  \newtheorem{aufgabe}{Aufgabe}
  \newcommand\myAufgabe[1]{
     \begin{aufgabe}
     #1
     \end{aufgabe}
     }
EndPreamble
End


Reply via email to