Featured Book

LaTeX Beginners Guide

Who is online

In total there are 6 users online :: 1 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Bing [Bot] and 5 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Indent paragraphs after chapter and section headings

Add tags Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)

Indent paragraphs after chapter and section headings

Postby alarswilson on Fri Jan 22nd, 2010

LaTeX's default leaves the first paragraph after chapter, section, subsection etc. headings non indented. How do I make change this so that these are indented as other paragraphs are by default?

EDIT: I found a package that changes this setting, no need for help.

FYI: indentfirst.sty
alarswilson
 
Posts: 26
Joined: Thu Apr 2nd, 2009

Re: Indent paragraphs after chapter and section headings

Postby localghost on Fri Jan 22nd, 2010

I already showed you with a complete example that you don't need that package [1]. You should have noticed that if you tested it. This can also be done with the titlesec package. Take a look at its options and read its manual. Load only packages you really need.

[1] View topic: Trouble with dissertation formatting in Turabian style


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Indent paragraphs after chapter and section headings

Postby alarswilson on Fri Jan 22nd, 2010

Thank you; I did not look closely enough at your code. My apologies. As always you are very helpful.
alarswilson
 
Posts: 26
Joined: Thu Apr 2nd, 2009

Re: Indent paragraphs after chapter and section headings

Postby paulrobert_ca on Mon Mar 31st, 2014

Here's the easiest solution I could think of:
Code: Select all  •  Open in writeLaTeX
\section{Myheading}
\hspace{2em
}This is my indented paragraph

It works with negative values too, for creating hanging indents as in this example:
Code: Select all  •  Open in writeLaTeX
\section*{Bibliography}
\leftskip=2em
\parindent=-2em
\hspace{-2em}Turner, Fred. \emph{From Counterculture to Cyberculture: Stewart Brand, the Whole Earth Network, and the Rise of Digital Utopianism
}. Chicago: University of Chicago Press, 2006.\\

(I know, I should be using BibTex etc.)
paulrobert_ca
 
Posts: 1
Joined: Mon Mar 31st, 2014


Return to Text Formatting

Who is online

Users browsing this forum: Bing [Bot] and 5 guests