1

I'm writing a paper using the article document class. I have an abstract at the beginning of the paper and this seems to mess up my formatting, for example, I have

\setlength\parindent{0pt}

With the abstract, the paragraphs indent, but when I comment out the abstract, it reverts to the formatting I want. There is other formatting, for example text height and width changes, which disappears when I include the abstract. Does anybody know what is going on?

Schweinebacke
  • 26,336
evap
  • 11

1 Answers1

1

Doh!! I figured out the problem, I was using

\abstract{this is the abstract.}

and changed it to

\begin{abstract}this is the abstract.\end{abstract}

This seems to have fixed it. The funny thing is that the first way created an abstract and did not give an error message.

Schweinebacke
  • 26,336
  • \begin{abstract} ... \end{abstract} is equivalent to \abstrac ... \endabstract so .... – daleif Aug 11 '17 at 14:48
  • 1
    this is a very frequent error (I was just about to post that as a guessed answer without even seeing your document). it is a general feature that use of the begin code of an environment does not cause an error, consider \center{abc} which acts in the same way – David Carlisle Aug 11 '17 at 14:48