APA6 中标题和参考书目之间出现不需要的空白页

APA6 中标题和参考书目之间出现不需要的空白页

每次我尝试将 biblatex-apa 与 apa6 结合使用时,标题页和参考书目之间都会出现一个空白页。该文档的目的是列出带有注释的参考文献。

主要.tex:

\documentclass[man,12pt,noextraspace,donotrepeattitle]{apa6}

\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{references.bib}

\usepackage{csquotes}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{references.bib}

\renewcommand{\refname}{Literature}

\shorttitle{Short Title}
\title{Regular Title}
\author{Author}
\affiliation{University of Affiliation}

\begin{document}
\maketitle
\nocite{*}
\printbibliography{annotate}
\end{document}

参考文献.bib

@article{mul2003,
   Author = {Muldoon, Orla T. and Reilly, Jacqueline},
   Journal = {Journal of Advanced Nursing},
   Number = {1},
   Pages = {93 - 100},
   Title = {Career choice in nursing students: gendered constructs as psychological barriers.},
   Volume = {43},
   DOI =   {http://doi.org/10.1046/j.1365-2648.2003.02676.x},
   Year = {2003},
   Annote = {.},
}

答案1

以下是如何\maketitle从 '修补' 命令的方法apa6.cls。(该命令太长,您不想将整个定义复制到文件中.tex只是为了修改一两行。)

\documentclass[man,12pt,noextraspace,donotrepeattitle]{apa6}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{mul2003,
   Author = {Muldoon, Orla T. and Reilly, Jacqueline},
   Journal = {Journal of Advanced Nursing},
   Number = {1},
   Pages = {93 - 100},
   Title = {Career choice in nursing students: gendered constructs as psychological barriers.},
   Volume = {43},
   DOI =   {http://doi.org/10.1046/j.1365-2648.2003.02676.x},
   Year = {2003},
   Annote = {.},
}
\end{filecontents*}

\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}

%\usepackage{etoolbox} This package is loaded by biblatex and csquotes
% otherwise you'd need to load it to use \patchcmd
% usage \patchcmd{<command to patch>}{<search string>}{<replace string>}{<success code>}{<failure code>}
\patchcmd{\maketitle}{\newpage}{}{\typeout{Success!}}{\typeout{Failure...}}
\patchcmd{\maketitle}{\newpage}{}{\typeout{Success!}}{\typeout{Failure...}}

\shorttitle{Short Title}
\title{Regular Title}
\author{Author}
\affiliation{University of Affiliation}

\begin{document}
\maketitle
\nocite{*}
\renewcommand{\refname}{Literature}
\printbibliography%{annotate}
\end{document}

相关内容