3

Using the abstract environment in my article seems to affect the whole document in regard to indentation. What am I doing wrong?

\documentclass[11pt]{article}
\setlength\parindent{0pt} % sets indent to zero
\setlength{\parskip}{10pt} % changes vertical space between paragraphs

\begin{document}

\abstract{Test test test}

\section{Test}

Test

Test

\end{document}
Andrew Swann
  • 95,762
Simon
  • 155

1 Answers1

2

In the article document class, abstract is an environment, and so it should be used as follows.

\documentclass[11pt]{article}
\setlength\parindent{0pt} % sets indent to zero                                
\setlength{\parskip}{10pt} % changes vertical space between paragraphs          

\begin{document}

\begin{abstract}
Test test test
\end{abstract}

\section{Test} 
Test Test
\end{document}
Ian Thompson
  • 43,767