![使用“noextraspace”会影响 APA 7 的标题页布局](https://linux22.com/image/444082/%E4%BD%BF%E7%94%A8%E2%80%9Cnoextraspace%E2%80%9D%E4%BC%9A%E5%BD%B1%E5%93%8D%20APA%207%20%E7%9A%84%E6%A0%87%E9%A2%98%E9%A1%B5%E5%B8%83%E5%B1%80.png)
我正在 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}