Dekel Tsur wrote:
On Sat, Nov 30, 2002 at 11:15:42AM +0000, Chris Lale wrote:

# Warning style definition
Style Warning
 LatexType		Paragraph

Replace by
    LatexType           Environment


 LatexName		warning
 Font
   Shape              Italic
 EndFont
 NextNoIndent		1
 LeftMargin		MMM
 RightMargin		MMM
 TopSep		0.5
 BottomSep		0.5
 Align			Left
 AlignPossible		Block, Left, Right, Center
 LabelType		No_Label
 Margin        Static

Add here:
    Preamble
\newenvironment{warning}
   {\par\setlength{\leftskip}{1cm}\addtolength{\hsize}{-1cm}\itshape}
   {\par\noindent}
    EndPreamble

End

Thanks for this. It works fine, except for {\par\noindent} (the first line is still indented). Still, I should be able to fix this now I know what to do.

Is a Preamble section only allowed in a style with LatexType Environment?

Cheers,

Chris.

--
: ___ Chris Lale <[EMAIL PROTECTED]> :
: / \ :
: | <_/ My PC runs Debian GNU/Linux 3.0. :
: \ Robust, secure and free operating system + applications. :
: \ Available at http://www.debian.org :

Reply via email to