Re: Floating and Space between paragraph

2010-03-26 Thread Helge Hafting

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


Re: Floating and Space between paragraph

2010-03-26 Thread Helge Hafting

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


Re: Floating and Space between paragraph

2010-03-26 Thread Helge Hafting

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


Floating and Space between paragraph

2010-03-25 Thread YURENA MENDOZA
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?

Thanks


Re: Floating and Space between paragraph

2010-03-25 Thread Julio Rojas
Nothing really. This is LaTeX doing it's job. When there is extra
space on a page, LaTeX expands the space between paragraphs to fill
it. Maybe having more paragraphs or smaller tables/images also help.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 25, 2010 at 2:11 PM, YURENA MENDOZA yurena.me...@gmail.com 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?

 Thanks



Re: Floating and Space between paragraph

2010-03-25 Thread Julien Rioux

On 25/03/2010 9:11 AM, 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?

Thanks



You could try to add \raggedbottom to your document preamble and see if 
you prefer that.


--
Julien


Re: Floating and Space between paragraph

2010-03-25 Thread Uwe Stöhr

YURENA MENDOZA schrieb:


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?


Assure that you _don't_ have set the float placement option here 
definitively, neither in the document settings and also not in the 
settings of the table floats.


If this is already the case, can you please send a _small_ LyX example 
file to be able to have a closer look?


regards Uwe


Re: Floating and Space between paragraph

2010-03-25 Thread Helge Hafting

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?



Consider allowing the floats onto page of floats only. That way, there 
will be no pages with mixed text and floats. And so the page breaking 
algorithm woon't need to compensate for objects of unusual size.


Helge Hafting





Floating and Space between paragraph

2010-03-25 Thread YURENA MENDOZA
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?

Thanks


Re: Floating and Space between paragraph

2010-03-25 Thread Julio Rojas
Nothing really. This is LaTeX doing it's job. When there is extra
space on a page, LaTeX expands the space between paragraphs to fill
it. Maybe having more paragraphs or smaller tables/images also help.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 25, 2010 at 2:11 PM, YURENA MENDOZA yurena.me...@gmail.com 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?

 Thanks



Re: Floating and Space between paragraph

2010-03-25 Thread Julien Rioux

On 25/03/2010 9:11 AM, 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?

Thanks



You could try to add \raggedbottom to your document preamble and see if 
you prefer that.


--
Julien


Re: Floating and Space between paragraph

2010-03-25 Thread Uwe Stöhr

YURENA MENDOZA schrieb:


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?


Assure that you _don't_ have set the float placement option here 
definitively, neither in the document settings and also not in the 
settings of the table floats.


If this is already the case, can you please send a _small_ LyX example 
file to be able to have a closer look?


regards Uwe


Re: Floating and Space between paragraph

2010-03-25 Thread Helge Hafting

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?



Consider allowing the floats onto page of floats only. That way, there 
will be no pages with mixed text and floats. And so the page breaking 
algorithm woon't need to compensate for objects of unusual size.


Helge Hafting





Floating and Space between paragraph

2010-03-25 Thread YURENA MENDOZA
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?

Thanks


Re: Floating and Space between paragraph

2010-03-25 Thread Julio Rojas
Nothing really. This is LaTeX doing it's job. When there is extra
space on a page, LaTeX expands the space between paragraphs to fill
it. Maybe having more paragraphs or smaller tables/images also help.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 25, 2010 at 2:11 PM, 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?
>
> Thanks
>


Re: Floating and Space between paragraph

2010-03-25 Thread Julien Rioux

On 25/03/2010 9:11 AM, 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?

Thanks



You could try to add \raggedbottom to your document preamble and see if 
you prefer that.


--
Julien


Re: Floating and Space between paragraph

2010-03-25 Thread Uwe Stöhr

YURENA MENDOZA schrieb:


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?


Assure that you _don't_ have set the float placement option "here 
definitively", neither in the document settings and also not in the 
settings of the table floats.


If this is already the case, can you please send a _small_ LyX example 
file to be able to have a closer look?


regards Uwe


Re: Floating and Space between paragraph

2010-03-25 Thread Helge Hafting

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?



Consider allowing the floats onto "page of floats" only. That way, there 
will be no pages with mixed text and floats. And so the page breaking 
algorithm woon't need to compensate for objects of unusual size.


Helge Hafting