我正在 Overleaf 上用 APA 7 格式撰写一篇学术论文。我插入了“无额外空间”类选项,它删除了页眉、段落等之间的额外间距,以更紧密地符合 APA 7 标准。
但是,它删除了标题页上标题和作者之间所需的额外间距。
如何在标题下方添加一个双倍行距的空白行?我尝试了很多命令。我怀疑模板生成了标题页,但我无法通过 Overleaf 编辑它。
找到下面的示例代码来复制我的问题。
\documentclass[stu,12pt]{apa7}
%Adding "noextraspace" to document class line above fixes spacing between headings and paragraphs. However, it removes the necessary extra space between title and author on the title page.
%\usepackage{fontspec}
\usepackage{lipsum}
\usepackage[american]{babel}
\usepackage{setspace}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\title{Experiments in Cognition}
\author{H. Granger}
\affiliation{University}
\course{PSYC 355}
\professor{Professor S. Snape}
\duedate{January 1, 2022}
\abstract{\lipsum1}
\begin{document}
\maketitle
\lipsum2
\section{Methods}
\lipsum4
\subsection{Participants}
\lipsum5
\end{document}
答案1
您可以在本地撤消选项\maketitle
\documentclass[stu,12pt,noextraspace]{apa7}
%Adding "noextraspace" to document class line above fixes spacing between headings and paragraphs. However, it removes the necessary extra space between title and author on the title page.
%\usepackage{fontspec}
\usepackage{lipsum}
\usepackage[american]{babel}
\usepackage{setspace}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\title{Experiments in Cognition}
\author{H. Granger}
\affiliation{University}
\course{PSYC 355}
\professor{Professor S. Snape}
\duedate{January 1, 2022}
\abstract{\lipsum1}
\begin{document}
\makeatletter
\let\saveddef@noextraspace\def@noextraspace
\let\def@noextraspace\undefined
\maketitle
\let\def@noextraspace\saveddef@noextraspace
\makeatother
\lipsum2
\section{Methods}
\lipsum4
\subsection{Participants}
\lipsum5
\end{document}