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

Michael Sharpe msharpe at ucsd.edu
Tue Jul 14 13:26:34 EDT 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
> 

I should have added that the problem occurs in line 161 of apa6.cls, which currently reads

            \LoadClass[11pt,twoside]{article} % default for doc is 11pt

and should be changed to

            \LoadClass[11pt]{article} % default for doc is 11pt

Michael



More information about the MacOSX-TeX mailing list