![APA 格式的回忆录模板](https://linux22.com/image/443308/APA%20%E6%A0%BC%E5%BC%8F%E7%9A%84%E5%9B%9E%E5%BF%86%E5%BD%95%E6%A8%A1%E6%9D%BF.png)
我通常使用芝加哥风格,但我的一个学生对使用 APA 感兴趣(我对它了解不多)。我使用memoir
class 创建了一个模板,它几乎做需要做的事情。我不是 APA 内部memoir
或内部修改方面的专家,我感兴趣的是
- 页眉和页码全部页面
- 自动缩进所有段落(已解决)
- 确保我的风格覆盖是规范的,即以正确的方式,符合
memoir
原则 - 类似地,删除页注标题中的“第 N 章”也是常规做法
我已经注释了示例,但如果更愿意的话,我可以在这里列出问题。这里的一些事情并不完全是“最小的”,但展示了这种情况的发展方向。
\documentclass[oneside,article]{memoir}
\setsecnumdepth{none}% remove numbering of chapters/sections
\aliaspagestyle{title}{empty}% suppress page number on title page
\pagestyle{headings}
\headstyles{default}
% The following section attempts to implement the requirements for
% APA 7 at https://apastyle.apa.org/style-grammar-guidelines/paper-format/headings
\chapterstyle{article}
% Centre level 1 header instead of left justify
\renewcommand{\printchaptertitle}[1]{\centering\chaptitlefont #1}
% The \section style (Level 2) seems fine as it is.
\setsubsecheadstyle{\large\bfseries\itshape\memRTLraggedright}% Level 3
\setparaheadstyle{\indent\normalsize\bfseries}% Level 4
\setsubparaheadstyle{\normalsize\bfseries\itshape}% Level 5
\usepackage{csquotes}
\usepackage{fontspec,libertinus}
\usepackage{polyglossia}
\setdefaultlanguage[variant=american]{english}
\SetLanguageKeys{english}{indentfirst=true}
\usepackage[style=apa,annotation,backend=biber]{biblatex}
\usepackage[colorlinks=true,allcolors=blue]{hyperref}
\title{APA memoir template}
\author{A.\,U.\ Thor}
\makepagenote
% Get rid of 'Chapter N' in endnote headers.
% Don't think I need the commented out bits, but shows how I got there
% using borrowed code.
\renewcommand{\pagenotesubhead}[3]{%
% \ifnum#2=0
\section*{#3}%
% \else
% \section*{#1 #2 #3}%
% \fi
}
\begin{document}
\begin{titlingpage}
\maketitle
\vskip\baselineskip
\begin{center}
Course info
\end{center}
\clearpage
\end{titlingpage}
\mainmatter
\begin{abstract}
Abstract text goes here.
\end{abstract}
\chapter{Level One Heading}
\lipsum[2][1-3]\pagenote{Example of a page note in the first \enquote{chapter}.}
\section{Level Two Heading}
Level two text goes here.
\subsection{Level Three Heading}
Level three text goes here.
\paragraph{Level Four Heading.} Level four text follows behind it; would be nice if the fullstop/period
were autoinserted in correct formatting.
\subparagraph{Level Five Heading.} Level five text; ditto.
\printbibliography
\printpagenotes
\chapter{Tables}
Tables go here.
\chapter{Figures}
Figures go here.
\appendix
\chapter{Sample Appendix}
Appendix text goes here.
\backmatter
\end{document}