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.

I'm using the apa6 package with the document mode "doc". Now I ran into some problems with the heading line. On even pages the heading line exceeds the textwidth on the left hand side and on odd pages on the right hand side.

Even page: even

Odd page: Odd page Example Code:

\documentclass[doc]{apa6}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt]{biblatex}
\DeclareLanguageMapping{american}{american-apa}

\ifapamodeman{\setlength{\textwidth}{5.76772in}%
\setlength{\textheight}{9.19291in}}{}

\title{Sample APA-Style Document Using the \textsf{apa6} Package}
\author{Brian D. Beitzel}
\affiliation{SUNY Oneonta}
\leftheader{Beitzel}
\abstract{This is the abstract}
\keywords{APA style, demonstration}
\begin{document}
\maketitle

Text long enough to fill several pages...
\end{document}

I guess it is a bug in this otherwise excellent apa6 package. Is there a quick (and dirty) way to fix this issue?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

Say

\setlength{\headwidth}{\textwidth}

just before \begin{document}

share|improve this answer
    
wow, that was easy! thanks a lot! –  deboerk Jan 30 '12 at 15:24
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.