TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am writing a document in a class (elsarticle) that indents the first lines of all paragraphs, including the ones following headings. However, I would like to revert back to the default Latex behavior indenting all but the first paragraphs.

Of course I can do this manually using \noindent, but isn't there a better way?

share|improve this question
This is a precise choice by the elsarticle class; if you're using it for submitting a paper, don't modify its behavior. – egreg Sep 9 '13 at 11:19
@egreg: Not to veer too much off-topic here, but… I am sure that they will change it back to their convention if they publish the paper. But I dislike their convention and feel that I am entitled to chose my own for my preprint. – xebtl Sep 10 '13 at 11:05
up vote 4 down vote accepted

You can set the internally used condition \if@afterindent for this indentation permanently to "false".

\usepackage{blindtext}  % drop in actual document


  \blinddocument  % drop in actual document

Note that the »blindtext« package is only used for creating the dummy document here, thus is not part of the solution.

share|improve this answer
Umm, that looks line it removes indentation from more places than you would expect. – einpoklum Jun 27 '14 at 20:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.