我正在尝试将我的课程和教授信息添加到标题中用户指南显示了,但是不起作用。我哪里犯了错误?
%%
\documentclass[man, floatsintext, donotrepeattitle]{apa7}
\usepackage{lipsum}
\usepackage[american]{babel}
\usepackage{makecell}
\usepackage{multirow}
\usepackage{adjustbox}
\usepackage{rotating}
\usepackage{geometry}
\usepackage{booktabs,tabularx}
\usepackage{geometry} % set page parameters suitably
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{M}{>{\raggedright\arraybackslash\hangafter=1\hangindent=1em}m{\mylen}}
\newlength\mylen
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{bibliography.bib}
\title{bla bla}
\author{bla vla ksd}
\affiliation{dklfköa}
\course{sjdkkdl}
\professor{Dr. djkdlkfjlfö}
\duedate{dnkjfkflöf}
\shorttitle{Cdklslö}
\begin{document}
\maketitle
\section{Introduction}
答案1
对于\course
、\professor
和\duedate
在使用文档类时生成任何输出apa7
,stu
必须使用(“学生论文”的缩写)文档类选项,而不是选项man
。
\documentclass[stu]{apa7}
\title{Bla bla bla}
\shorttitle{bla}
\author{John Doe}
\affiliation{Nowhere U}
\course{Waking Up}
\professor{D. R. Nap}
\duedate{31 Dec 3099}
\begin{document}
\maketitle
\section{Introduction}
Hello World.
\end{document}