Text Formatting\parskip for theorems

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
a.clarke
Posts: 1
Joined: Mon Mar 23, 2009 3:32 am

\parskip for theorems

Post by a.clarke »

Does anyone know how to make \setlength{\parskip}{...} work within theorem environments?

For example:

Code: Select all

\begin{theorem}
blah

blah

blah
\end{theorem}
Doesn't space paragraphs properly like normal paragraphs.

In fact, if it's possible to make it possible for all environments, it would be much appreciated.

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\parskip for theorems

Post by localghost »

I advice against modifying the \parskip length because it also affects the ToC and possibly distorts its layout. As a workaround this could be prevented by the parskip package.

But I would go the way of setting these skips manually. There are three commands which add dynamic space between paragraphs.

Code: Select all

\begin{theorem}
  The quick brown fox jumps over the lazy dog.

  \smallskip
  The quick brown fox jumps over the lazy dog.

  \medskip
  The quick brown fox jumps over the lazy dog.

  \bigskip
  The quick brown fox jumps over the lazy dog.
\end{theorem}
This suggestion is for standard classes. Other classes like memoir or those from the KOMA Script bundle have built-in features.


Best regards and welcome to the board
Thorsten¹
Post Reply