Page LayoutReducing width of spaces between paragraphs

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Reducing width of spaces between paragraphs

Post by AleCes »

OK, I don't want to seem a flooder, but it's the same (draft of) a book of mine that keeps on giving me lots of troubles.
When you compile it you'll notice that at page 6 the space between paragraphs is significantly wider than the standard. I know there is a way to increase it, but I'd rather be interested in reducing it, because, typographically speaking, it's really ugly! :evil:
Attachments
Историја Византиског Царства.tex
History of the Byzantine Empire
(98.96 KiB) Downloaded 277 times
Last edited by AleCes on Sun Nov 21, 2010 10:29 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Reducing width of spaces between paragraphs

Post by meho_r »

Well, that is default behaviour, to stretch space on some places (before/after headings, between paragraphs, in lists etc. where it's possible) to fit the page vertically, i.e., to get bottom lines even on all pages and get "squared" design. You can easily remedy this by placing in the preamble the following command:

Code: Select all

\raggedbottom
But, in this case, expect, well, ragged bottoms on pages ;) Since you'll probably have to manually sort problems with ragged bottoms, it is very likely that you'll want to add/subtract a line of text on a page from time to time, and for that the following command can be useful too:

Code: Select all

\enlargethispage{\baselineskip}
Use this command on pages for which you want text height to be one line larger than normal. You may use negative values for the opposite (e.g. \enlargethispage{-2\baselineskip}).

Typographically speaking, it is desirable to have squared pages, but without widows (orphans may be tolerated). To achieve this, there is no other way but to do manual corrections. This means rewording the text, or creating manual breaks and/or enlarging page spreads with the above command. The method I personally use (in case rewording isn't possible) is to create custom line breaks on some places where it is possible.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Reducing width of spaces between paragraphs

Post by AleCes »

Hy meho_r, that's the second time you get me out of trouble! Thank you! :mrgreen:
By looking carefully at the output box, I noticed it had signaled the "underfullness" of the page in question plus the next one:

Code: Select all

Underfull \vbox (badness 10000) has occurred while \output is active [6]
Underfull \vbox (badness 2671) has occurred while \output is active [7]
Anyhow, the \raggedbottom solution will do for me, without adding lines which would lead to the page number on the bottom being overwritten. :cry:
Even though now page 6 and 7 have ragged bottoms (page 7 almost imperceptibly), I don't think this is typographically awful, actually nicer than the output I got before! 8-)

P.S.
In this case I can't really reword it because I'm expected to typeset the original text!
Attachments
Историја Византиског Царства.pdf
With ragged bottoms, but it's OK for me!
(100.7 KiB) Downloaded 386 times
Post Reply