LaTeX forum ⇒ Text FormattingIndent paragraphs after chapter and section headings

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
alarswilson
Posts: 26
Joined: Thu Apr 02, 2009 3:42 pm

Indent paragraphs after chapter and section headings

Postby alarswilson » Fri Jan 22, 2010 10:27 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Fri Jan 22, 2010 10:59 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links

alarswilson
Posts: 26
Joined: Thu Apr 02, 2009 3:42 pm

Postby alarswilson » Fri Jan 22, 2010 12:07 pm

Thank you; I did not look closely enough at your code. My apologies. As always you are very helpful.

Link:
BBcode:
HTML:
Hide post links
Show post links

paulrobert_ca
Posts: 1
Joined: Mon Mar 31, 2014 6:52 pm

Postby paulrobert_ca » Mon Mar 31, 2014 6:58 pm

Here's the easiest solution I could think of:
  1. \section{Myheading}
  2. \hspace{2em}This is my indented paragraph

It works with negative values too, for creating hanging indents as in this example:
  1. \section*{Bibliography}
  2. \leftskip=2em
  3. \parindent=-2em
  4. \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.)

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Text Formatting”

Who is online

Users browsing this forum: Google [Bot] and 2 guests