Hi there,

is there a specific reason that LyX inserts empty lines in some cases?
The one that bites me most is the float figure environment, where the
LaTeX output looks like this:

>\begin{figure*}
>\resizebox*{1\columnwidth}{!}{\includegraphics{fig2.eps}}
>
>
>\caption{\label{histogram}Histogram of time-averaged distances of the
>INW (solid line) and OUT (dotted line) PGs from the center of the
>umbra. The position of the dividing line is marked by vertical dashes.}
>\end{figure*}

While this normaly produces working output, the text class I'm using
defines a special command \sidecaption that allows putting the caption
besides a figure.  It should be used as

\begin{figure*}
\sidecaption
\includegraphics{...}
\caption{...}
\end{figure*}

However, if I put it as ERT in my LyX document, due to the two blank
lines in the tex file latex bails out:

  ! Paragraph ended before \sidecaption was complete.

Is there a way to make LyX *not* insert those blank lines?  Or why are
they there?
Thanks,

  Pit

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Peter "Pit" Suetterlin                 http://www.astro.uu.nl/~suetter
Sterrenkundig Instituut Utrecht
Tel.: +31 (0)30 253 5225                   [EMAIL PROTECTED]
__________________________________________________________________________

Reply via email to