5

Usually one can adjust paragraph indent with

\setlength{\parindent}{0pt}

but that fails for the apa class. Is there another way to get rid of this indents in this class?

  • 1
    The class might set \parindent at the begin of the document. Did you tried changing it after \begin{document}? – Martin Scharrer May 23 '12 at 16:45
  • \AtBeginDocument{\setlength{\parindent}{0pt}} – Marco Daniel May 23 '12 at 16:47
  • @MarcoDaniel you should turn your comment into an answer. – Gonzalo Medina May 23 '12 at 17:36
  • @GonzaloMedina: I must qualify my comment-- see my answer. – Marco Daniel May 23 '12 at 18:42
  • He guys thank fo the help. After begindocument works now :-) – Markus Graf May 29 '12 at 13:24
2

I must qualify my comment.

I used the two following examples to test my statement and I noticed that the command:

\setlength{\parindent}{0pt}

in the preamble will do the job.

test-file apa.cls

\documentclass[english]{apa}
\usepackage{babel,blindtext}
\setlength{\parindent}{0.0pt}
\begin{document}
\blindtext

\blindtext
\end{document}

test-file apa6.cls

\documentclass[english]{apa6}
\usepackage{babel,blindtext}
\setlength{\parindent}{0.0pt}
\begin{document}
\blindtext

\blindtext
\end{document}

In the next run I noticed that \maketitle set a new paragraph indention at the end of definition.

\documentclass[english]{apa}
\usepackage{babel,blindtext}
\setlength{\parindent}{0.0pt}
\author{Name}
\title{MWE}
\begin{document}
\maketitle
\blindtext

\blindtext
\end{document}

Based on this MWE (that is your task) you have to change \parindent after \maketitle


Proof: A minimal working example (MWE) ist the best way to illustrate a problem. q.e.d.

  • Thanks it definitively just works after begin{document} and after making some title stuff. \begin{document} \pagestyle{plain} \maketitle \doublespacing \pagestyle{headings} \setlength{\parindent}{0pt} – Markus Graf May 29 '12 at 13:26

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.