Text FormattingWhy are hanging indents appearing?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Dr. Doerke
Posts: 16
Joined: Sat Dec 06, 2008 7:55 pm

Why are hanging indents appearing?

Post by Dr. Doerke »

I'm formatting a book of poetry. Most pages use /begin{verse} text /end{verse}. I have a section of the book which is prose for which the verse package is not called. Each of the paragraphs in that section appear with hanging indents. What's causing this and what can I do about it?

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

Why are hanging indents appearing?

Post by localghost »

Dr. Doerke wrote:[...] What's causing this and what can I do about it?
This is just a default setting to optically separate two paragraphs. You can switch of this indent globally by modifying the according length for paragraph indentation.

Code: Select all

\setlength{\parindent}{0em}
This line goes into the preamble. But now paragraphs are not separated any more and may be difficult to recognize. Some document classes have built-in features to correct this. For a local switch you can insert the \noindent command right before a new paragraph.


Best regards
Thorsten¹
Dr. Doerke
Posts: 16
Joined: Sat Dec 06, 2008 7:55 pm

Re: Why are hanging indents appearing?

Post by Dr. Doerke »

My document class is book. The \noindent solves one problem and creates another. With \noindent the paragraphs are properly blocked (ie left and right justified), but the entire paragraphs are indented as though my margins have been reset leaving my text looking like a narrow column. I should note that the subsection heading is also indented unlike the earlier sections and subsections. Looking for more help...
Dr. Doerke
Posts: 16
Joined: Sat Dec 06, 2008 7:55 pm

Re: Why are hanging indents appearing?

Post by Dr. Doerke »

Found the source of the trouble. Sorry. A missing \end{verse} many pages and sections earlier created the problem.
Post Reply