Text FormattingToo much vertical blank space in multicolumn text

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Alkkem
Posts: 2
Joined: Tue Feb 19, 2019 12:06 am

Too much vertical blank space in multicolumn text

Post by Alkkem »

Hi! I've got the following problem: when it comes to a multicolumn text in a \multicol environment, LaTeX automatically tries to add/substract white spaces between elements (text blocks, figures, section headers, etc.) to fit every single element in an exact page, in order not to break aligned equations and that sort of things.

It is a useful approach, but the result is sometimes quite ugly. Is there a way to prevent that from happening? Or I will have to resize every element individually in order to obtain the result I want? :?

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Too much vertical blank space in multicolumn text

Post by Stefan Kottwitz »

Hi Alkkem,

welcome to the forum!

You could use the command \raggedcolumns either globally or local directly after \begin{multicols}{...}.

Stefan
LaTeX.org admin
Alkkem
Posts: 2
Joined: Tue Feb 19, 2019 12:06 am

Too much vertical blank space in multicolumn text

Post by Alkkem »

Stefan Kottwitz wrote:Hi Alkkem,

welcome to the forum!

You could use the command \raggedcolumns either globally or local directly after \begin{multicols}{...}.

Stefan
Wow! Thank you very much Stefan! This was exactly the solution I was looking for. I still can't believe I couldn't find it anywhere else :lol:
Post Reply