Text Formattingparskip package: what does the option parfill do?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
hiryu
Posts: 3
Joined: Wed Sep 16, 2009 10:56 pm

parskip package: what does the option parfill do?

Post by hiryu »

Hi everybody,

Can someone explain to me what does the option parfill in the parskip package actually do? I took a look at the documentation but didn't understand what they mean.

I tried to compile a couple of files both with \usepackage{parskip} and \usepackage[parfill]{parskip}, but couldn't find any difference.

A basic example showing the difference would be much appreciated!

Many thanks, best wishes

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

parskip package: what does the option parfill do?

Post by Stefan Kottwitz »

Hi hiryu!
hiryu wrote:Can someone explain to me what does the option parfill in the parskip package actually do?
The parskip option modifies the \parfillskip length:

Code: Select all

\setlength{\parfillskip}{30\p@ \@plus 1fil}
Originally, it's 0pt plus 1fil.

\parfillskip is inserted at the end of a paragraph. By this option, i.e. by raising this value, you avoid that a paragraph ends almost flush right. So, paragraphs could easier be distinguished.

Stefan
LaTeX.org admin
Post Reply