[OS X TeX] documentclass using apa6 gives unexpected twoside value

Michael Sharpe msharpe at ucsd.edu
Tue Jul 14 17:52:07 CEST 2015


> On Jul 14, 2015, at 2:51 AM, BenJ <ben-jutten at hotmail.com> wrote:
> 
> Hello apa6 users
> 
> I am using apa6 in the following way:
> \documentclass[doc]{apa6}
> The option doc is supposed to be a single-sided document and
> the output that is produced is a single sided document so that is expected.
> 
> However using varioref there is reference output as it would be a two-sided
> document.
> (\reftextface..macros)
> 
> I figured out that the @twoside is true after the following lines of code:
> \documentclass[doc,oneside]{apa6}
> \usepackage{ifthen} % to be able to test @twoside
> \newcounter{myT} \setcounter{myT}{0}
> \ifthenelse{\boolean{@twoside}}{\setcounter{myT}{1}}{\setcounter{myT}{2}}
> 
> In the document part I print the value of {myT} 
> "Now print the value of the test counter. The value is \arabic{myT}."
> The value is 1, i.e. @twoside is TRUE and that is not expected!
> 
> Is this a known problem or do I have to add some specific option to document
> class to get @twoside set to false?? Suggestions would be welcome, many
> thanks in advance.
> 
> My workaround for the time being is:
> \setboolean{@twoside}{false}
> 
> thanks for a reply.
> 
> 
> Ben
> 

From a brief look at apa6.cls, it appears that to get onesided with doc, you have also to specify the pointsize, as in 

\documentclass[doc,11pt]{apa6}

This is surely an oversight in the code, contrary to its documentation, and you should write to its author about it.

Michael


More information about the macostex-archives mailing list