christiaan pauw wrote:
Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win


The problem is that you have the comment widget in a Quote environment. The Quote environment gets extra whitespace above and below, apparently even if it's empty.

The solution is to put the comment in Standard paragraph, but (if you wish) put the text inside the comment widget in a Quote environment. I've attached a slightly modified version of your file.

HTH,
/Paul
#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Subsection*

\lang british
Subsection heading
\end_layout

\begin_layout Standard

\lang british
Paragraph IParagraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragr
\end_layout

\begin_layout Standard

\lang british
The whitespace in question is below.
 I have include a large volume of text because I sometime comment out a
 whole paragraph that I am still working on when i work on a next version
 of a draft.
 The space is blow
\end_layout

\begin_layout Standard

\lang british
\begin_inset Note Comment
status collapsed

\begin_layout Quote

\lang british
comment text comment text comment text comment text comment text v comment
 textcomment text comment text comment text comment text comment text v
 comment text comment text comment textcomment text comment text comment
 text comment text comment text v comment text comment text comment textcomment
 text comment text comment text comment text comment text v comment text
 comment text comment textcomment text comment text comment text comment
 text comment text v comment text comment text comment textcomment text
 comment text comment text comment text comment text v comment text comment
 text comment textcomment text comment text comment text comment text comment
 text v comment text comment text comment textcomment text comment text
 comment text comment text comment text v comment text comment text comment
 textcomment text comment text comment text comment text comment text v
 comment text comment text comment textcomment text comment text comment
 text comment text comment text v comment text comment text comment text
 comment text comment text
\end_layout

\end_inset


\end_layout

\begin_layout Subsection*

\lang british
Next Subsection heading
\end_layout

\begin_layout Standard

\lang british
Paragraph IParagraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph 
\end_layout

\begin_layout Subsection*

\lang british
Next Subsection heading
\end_layout

\begin_layout Standard

\lang british
Paragraph IParagraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph 
\end_layout

\begin_layout Standard

\end_layout

\begin_layout Quote

\end_layout

\begin_layout Standard

\end_layout

\begin_layout Quote

\end_layout

\begin_layout Standard

\end_layout

\end_body
\end_document

Reply via email to