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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
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