Template for creating an article according to APA guidelines (6th edition) in PDF format.
apa6_pdf(fig_caption = TRUE, number_sections = FALSE, toc = FALSE,
pandoc_args = NULL, keep_tex = TRUE, ...)apa6_word(fig_caption = TRUE, pandoc_args = NULL, md_extensions = NULL,
...)
Logical. Indicates if figures are rendered with captions.
Logical. Indicates if section headers are be numbered. If
TRUE
, figure/table numbers will be of the form X.i, where X is the current first
-level section number, and i is an incremental number (the i-th figure/table); if
FALSE
, figures/tables will be numbered sequentially in the document from 1, 2,
..., and you cannot cross-reference section headers in this case.
Logical. Indicates if a table of contents is included.
Additional command line options to pass to pandoc
Logical. Keep the intermediate tex file used in the conversion to PDF.
Further arguments to pass to pdf_document2
or word_document2
.
Character. Markdown extensions to be added or removed from the
default definition or R Markdown. See the rmarkdown_format
for additional details.
apa6_word
: Format to create .docx-files. class
parameter is ignored. This function
should be considered experimental.
When creating PDF documents the YAML option class
is passed to the class options of the LaTeX apa6 document class.
In this case, additional options are available. Refer to the apa6 document class
documentation to find out about class options
such as paper size or draft watermarks.
When creating PDF documents the output device for figures defaults to c("pdf", "postscript", "png", "tiff")
,
so that each figure is saved in all four formats at a resolution of 300 dpi.