To summarize the previous discussion, for those who urgently need APA 7th edition: With the current version of papaja you can get most of the way like this:
- Make sure you are using the latest development version of
papaja (remotes::install_github("crsh/papaja@devel"))
- (Install the
apa7 LaTeX document class, unless your LaTeX distribution, like tinytex is setup to do this on the fly.)
- Make the following settings in the YAML front matter:
header-includes:
- |
\makeatletter
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\typesectitle}}
\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%
{\normalfont\normalsize\bfseries\itshape\hspace{\parindent}{#1}\textit{\addperi}}{\relax}}
\makeatother
csl : "`r system.file('rmd', 'apa7.csl', package = 'papaja')`"
documentclass : "apa7"
output : papaja::apa6_pdf
Note, that you currently cannot include the ORCID in the author note, as suggested in the apa7-manual, those YAML fields are currently not parsed.
Properly implementing support for APA 7th edition will require a little more work. I'll gather the required steps that I have identified, as of now, here. If I'm missing anything necessary adjustments, or if anyone has thoughts or suggestions about the implementation feel free to discuss. Also, this would be the time to rethink any design decisions regarding the R Markdown template (such as the setup of the font matter or naming of the options).
General
PDF format
Word format
To summarize the previous discussion, for those who urgently need APA 7th edition: With the current version of
papajayou can get most of the way like this:papaja(remotes::install_github("crsh/papaja@devel"))apa7LaTeX document class, unless your LaTeX distribution, liketinytexis setup to do this on the fly.)Note, that you currently cannot include the ORCID in the author note, as suggested in the
apa7-manual, those YAML fields are currently not parsed.Properly implementing support for APA 7th edition will require a little more work. I'll gather the required steps that I have identified, as of now, here. If I'm missing anything necessary adjustments, or if anyone has thoughts or suggestions about the implementation feel free to discuss. Also, this would be the time to rethink any design decisions regarding the R Markdown template (such as the setup of the font matter or naming of the options).
General
apa7_*(), that generate thermarkdownformat. It may be worth considering, whether specialized functions for each edition are necessary. It seems easier and less confusing to just keepapa_*()and specify the version via thedocumentclassfield in the front matter. Of course, the old functions would be kept for backward compatibility.PDF format
\addORCIDlink{}{}) if I can makepandocparse the contents of theauthor_notefield.\subsubsection{}and\paragraph{}have changed and adjust the default header includes accordingly.&to author name concatination on title page and use\authornamesand\authorsaffiliations(Add APA 7th edition template #342 (comment))Word format
pandocword template for APA 7th edition.apa_table()docx_fixes-Lua-filter, i.e. create an version of the filter for APA 7th edition