Does anyone know how to make \setlength{\parskip}{...} work within theorem environments?
For example:
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.
Text Formatting ⇒ \parskip for theorems
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\parskip for theorems
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.
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¹
But I would go the way of setting these skips manually. There are three commands which add dynamic space between paragraphs.
Code: Select all
Code, edit and compile here:
\begin{theorem}The quick brown fox jumps over the lazy dog.\smallskipThe quick brown fox jumps over the lazy dog.\medskipThe quick brown fox jumps over the lazy dog.\bigskipThe quick brown fox jumps over the lazy dog.\end{theorem}
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10