YURENA MENDOZA wrote:
Hello,I have several tables floating in my document and they will be the
reason why along my document there are greater spaces between several
paragraphs despite I select the "default" option space between paragraphs.
What can I do in order to retain all paragraphs with the same length between
them?

Sometimes this happens:

==========
First paragraph of text

Second paragraph of text

--------
A float
--------

Third paragraph of text
===========

If the float floats somewhere else, it leaves a double-length space between the "second" and "third" paragraph. The reason is that you press enter both before and after the float, so that there is paragraph separation spacing both before and after the float. Latex normally avoids double spacing like that, but *not* in the floating case.

The solution is to avoid putting the float in a paragraph of its own. Instead, put it on the end of "second paragraph" or at the beginning of "third paragraph".

Ideally, LyX could recognize this special case, and auto-remove paragraph separation on one side of the float. Or simply always attach a float to the paragraph above. I don't think this kind of "double spacing
where a float used to be" is useful, not in any cases.

The workaround is simple. In my example, put the cursor at the end of
"Second paragraph" and press the delete key (not backspace) once, so the float becomes part of that paragraph.

Helge Hafting

Reply via email to