Text Formatting\setlength{\parskip}{5\parskip} has no effect

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
dl3fo3
Posts: 10
Joined: Mon Jan 05, 2009 4:35 pm

\setlength{\parskip}{5\parskip} has no effect

Post by dl3fo3 »

\setlength{\parskip}{5\parskip} seems to have no effect. Is there a way to achieve the intended effect?

Code: Select all

\documentclass{article}
\begin{document}

Hello

Hello

\setlength{\parskip}{5\parskip}
%\addtolength{\parskip}{4\parskip}

Hello

Hello

\end{document}

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\setlength{\parskip}{5\parskip} has no effect

Post by localghost »

Look at the default value of \parskip. Be careful with this length and use the parskip package.


Best regards
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

\setlength{\parskip}{5\parskip} has no effect

Post by Stefan Kottwitz »

Insert

Code: Select all

\the\parskip
into your document to see the value of \parskip at that place.
The default value of \parskip is 0.0pt plus 1.0pt, so multiplying by 5 should not have much effect.

Stefan
LaTeX.org admin
Post Reply