On Thu, 30 Aug 2001 08:19:12 -0400 wrote Steve Litt <[EMAIL PROTECTED]>:
> On Thursday 30 August 2001 03:58, you wrote:
> > On Wed, 29 Aug 2001 12:20:29 -0400 wrote Steve Litt
> <[EMAIL PROTECTED]>:
> > > In the final product it has a line above the word WARNING and below the
> > > last word of the warning text. I couldn't figure out how to do the lines
> > > in LyX but that's not a big issue anyway.
> > >
> > > The only bad part is it's ragged right in the finished product -- but
> > > that's not that terrible either.
> >
> > Just leave out the \flushleft in your definition.
>
> Trouble with leaving out \flushleft is the entire warning becomes centered
> like the label. What I really need is the equivalent of \noraggedright.
Put braces around the label:
...
> > \newenvironment{warning_l}
> > {
> > \begin{quote}
> > \hrulefill\\
> > {\centering WARNING\\[0.5cm]}
> > }
...
>
> The only reason I didn't use a quote environment is I was unable to adjust
> the margins with any style but list. Sounds strange, but my
> \setlength{\leftmargin}{\scratchLength} and
> \setlength{\rightmargin}{\leftmargin} wouldn't work in anything but list. I
> just tried it on your code using the quote environment, and once again I
> couldn't control the margins with \setlength{\leftmargin} et. al.
Internally, also quote is defined via list (just to be able to set the
indentation. I'm pretty sure it could be controlled by some special
command/lenth (something like \setlentgh{\quiteindent}{3cm}) but I don't
know the proper name for it nor find it in my literature.
Guenter
--
[EMAIL PROTECTED]