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?

  • 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, 2013 at 11:19
  • 1
    @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, 2013 at 11:05

1 Answer 1


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.

  • Umm, that looks line it removes indentation from more places than you would expect.
    – einpoklum
    Jun 27, 2014 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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