我利用该apa7
课程提交手稿进行盲审,因此自然不能在任何地方写作者姓名。当我这样做时
\author{}
我收到一条错误消息LaTeX error: there's no line here to end
。当我将上面的行更改为
\author{anything}
错误消失了。但是当然,我不能放入anything
标题页。MWE 如下:
\documentclass[man, hidelinks, floatsintext]{apa7}
\usepackage{lipsum}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{bibliography.bib}
\let\OldMaketitle\maketitle
\let\OldNewpage\newpage
\renewcommand\maketitle{%
\renewcommand\newpage{\let\newpage\OldNewpage}% <----- Eliminate the effect of first \newpage
\OldMaketitle%
}
\title{Title of Document}
\shorttitle{RUNNING HEAD}
\author{}
\affiliation{}
\abstract{\lipsum[1]}
\keywords{keyword1, keyword2}
\begin{document}
\maketitle
\end{document}