Claus Hentschel wrote:
> 
>     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!

change the following lines in the lyx layout which are not quoted.
it's a solution without ntheorem.
 
>     2. I want to change the environment depth for the following paragraph in
> case that this is for example a 'Standard' or 'Itemize' layout!

i hope, i understand well: you can mark the paragraphs with the mouse,
than laxout->paragraph->indent paragraph
write in the textfield 0cm!! than latex choose the standard parindent
value for indentation.

Herbert



> #===================================================================
> # 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

 \newcounter{caufgabe}
% \renewcommand\thecaufgabe{\arabic{section}-\arabic{caufgabe}}
 \newenvironment{aufgabe}
  {\list{}{\itemindent-\leftmargin}\item{}%
   \normalfont\bfseries Aufgabe \refstepcounter{caufgabe}\thecaufgabe :
%
   \rm\itshape}
  {\endlist\rm\upshape}
\newcommand\myAufgabe[1]{
     \begin{aufgabe} #1
     \end{aufgabe}
     }

> EndPreamble
> End


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/

Reply via email to