On 06/16/2012 02:25 PM, Liviu Andronic wrote:
On Sat, Jun 16, 2012 at 9:53 PM, Roger House<rho...@sonic.net> wrote:
I'm using Lyx for the first time and find it, by and large, quite nice.
However, I've run into a situation where Lyx's automatic vertical layout
is creating ugly output. Example:
input
text
small figure
caption
text
large figure (taking an entire page)
output
PAGE BREAK
text
small figure
LOTS OF VERTICAL WHITESPACE
caption
LOTS OF VERTICAL WHITESPACE
text
PAGE BREAK
large figure (taking an entire page)
I want a page break before the large figure, so that works fine. However
the
vertical whitespace is really unacceptable.
Yes, LaTeX can be generous with empty vertical space. One way to
workaround is to insert negative vertical spaces right after the
caption (or float). Just Insert> Formatting> Vertical Space and
input a negative value (say -10 pt). This should help.
I understand that the algorithm
is trying to spread things out uniformly in the vertical direction, but in
this case, I would like all the vertical whitespace to go away and just let
the printed portion of the page stop wherever it stops. (Also, the
whitespace
between the figure and the caption just seems plain wrong. I have the
caption
marked "Definitely here", but my idea of "here" does not seem to agree with
the way it works.)
See Section 11 of LyX Essentials [1] for some prose on this. The
"Definitely here" pertains to the float placement, not caption
placement.
Liviu
[1] http://wiki.lyx.org/uploads/LyX/tutorials/essentials/LyX_Essentials.pdf
I would greatly appreciate any advice on how to prevent the layout shown
above.
Thank you,
Roger House
Thanks to Liviu Andronic, Les Denham, and Allen Barker for your help with
my vertical whitespace issue. Using negative spacing helped, but it turned
out that the key was to insert an explicit page break, and just before
it add
positive vertical spacing./
Roger House