Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
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
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

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.