Text FormattingIndent paragraphs after chapter and section headings

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

Indent paragraphs after chapter and section headings

Post by alarswilson »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Indent paragraphs after chapter and section headings

Post by localghost »

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
alarswilson
Posts: 26
Joined: Thu Apr 02, 2009 3:42 pm

Re: Indent paragraphs after chapter and section headings

Post by alarswilson »

Thank you; I did not look closely enough at your code. My apologies. As always you are very helpful.
paulrobert_ca
Posts: 1
Joined: Mon Mar 31, 2014 6:52 pm

Indent paragraphs after chapter and section headings

Post by paulrobert_ca »

Here's the easiest solution I could think of:

Code: Select all

\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

\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.)
Post Reply