Template Options
Options are set in the metadata section at the top of the .qmd file. Quarto metadata uses YAML, a format that allows us to store data in a format that is easy to write and easy to read. In its simplest form, it has a key and a value:
key: valueIf the value is simple, it does not need any quotes. If it has any characters that have special meaning in yaml (e.g., :), you will need to put the value in quotes.
title: "This title needs quotes: Because there is a colon in it."Any optional key you do not use can be deleted or commented out. If you would prefer to keep the key visible but empty, you can make the value NULL with the tilde symbol ~ like so:
key: ~If you want the null value to be easier to understand, you can specify a null value explicitly:
key: nullHere is a minimal example of what the YAML metadata might look like:
---
title: "My Paper's Title: A Full Analysis of Everything"
shorttitle: "My Paper's Title"
author:
- name: W. Joel Schneider
corresponding: true
orcid: 0000-0002-8393-5316
email: schneider@temple.edu
affiliations:
- name: Temple University
department: College of Education and Human Development
address: 358 Ritter Hall
city: Philadelphia
region: PA
postal-code: 19122-6091
abstract: "This is my abstract."
keywords: [keyword1, keyword2]
author-note:
disclosures:
conflict of interest: The author has no conflict of interest to declare.
bibliography: mybibfile.bib
format:
apaquarto-docx: default
apaquarto-html: default
apaquarto-pdf: default
apaquarto-typst: default
---General Options
Field :============================= title |
Explanation :======================================================================================================================================================================================================================================================================================================================================================================================================================================================================= Sets the title. Titles with no special characters can be raw text. If your title has a colon in it, it will need to be quoted: You can list your title and subtitle separately, and they will be combined with a colon in the document: |
|
shorttitle |
A short version of the title that appears in the running header for .pdf and .docx formats. If omitted or null (~), the running header will take its value from the title field (and will omit the subtitle). |
|
abstract |
The abstract paragraph. If the abstract is a single paragraph, put it on a single line like most of the other fields: If the abstract has multiple paragraphs, separate them like so: The abstract can be written in the document instead, as a section called Abstract. It is taken out of the body and set on the title page as though it had been written here. Handy for a long abstract, which a yaml field makes awkward to write and to spell check: |
|
keywords |
A list of topics your paper relates to. Can be single words or short phrases. There are two ways to format key words. Comma-separated list with square brackets: Multiline list with indented hyphens : |
|
floatsintext |
Specifies where floats (i.e., figures and tables) appear.
The |
|
numbered-lines |
Numbered lines (every format but .html, which has no pages to number lines down) | Default: false | |
|
linenumber-font |
The font of the numbers Typst bundles one sans face, DejaVu Sans Mono, and warns once for every family it is asked for and cannot find. So the default names only that one, which is silent on every machine. Name another if you know the machine has it: A list is tried in turn: Default: |
|
bibliography |
File(s) with references. If you have a single file, you can list it like so: If you have multiple files, you can make an array: |
|
mask |
For anonymous peer review, removes identifying information: author names, author affiliations, author notes, correspondence information, and references listed in the If If |
|
masked-citations |
A list of citation keys that should be masked if the The citation keys should be as they appear in the bibliography file(s). |
|
suppress-title-page |
Suppress the title page if true |
|
meta-analysis |
By default, all studies listed in the nocite field will be marked with asterisks in the References section. If this behavior is unwanted, set meta-analysis to false. |
|
no-ampersand-parenthetical |
APA style uses ampersands in parenthetical citations (e.g., Schneider & McGrew, 2018) but not in narrative (i.e., in-text) citations: Schneider and McGrew (2018). You can replace ampersands with “and” in parenthetical citations (e.g., Schneider and McGrew, 2018) by setting the no-ampersand-parenthetical option to true. A different replacement word other than “and” can be set in the citation-last-author-separator field in the language options. |
|
impact-statement |
A paragraph below the Abstract that describes the theoretical/practical importance of the work. The heading of the impact statement is “Impact Statement” by default but can be overridden using the Like the abstract, it can be written in the document instead, as a section called Impact Statement: |
|
supplemental-materials |
A line below the keywords pointing readers to supplemental materials (a repository, an archive, an OSF page). The prefix is “Supplemental materials” by default but can be overridden using the title-supplemental-materials field in the language field. |
|
mainfont |
Set font family for headings and body font. Default is Times New Roman | |
monofont |
Set font family for code output. Default is Consolas. | |
papersize |
Set the paper size. Default is us-letter. Other options include a3, a4, a5, b5, executive, legal, letter, tabloid |
Affiliations
The apaquarto extension uses the standard Quarto schema for affiliations.
| Field | Explanation |
|---|---|
id |
A unique identifier for the affiliation. The |
name |
The name of the organization. If the author is unaffiliated, list the author’s city and region/state instead: |
department |
A specific division within the organization. |
group |
A subdivision within the department |
address |
The street address |
city |
City |
region |
The region, state, or province. You may specify |
country |
Country |
postal-code |
Postal code (zip code in the U.S.) |
Multiple Affiliations
If an author has more than one affiliation:
author:
- name: William Joel Schneider
affiliations:
- name: Temple University
department: College of Education and Human Development
address: 1301 Cecil B. Moore Ave.
city: Philadelphia
region: PA
postal-code: 19122-6091
- name: My Second AffiliationOptions for .docx and typst
| Field | Explanation |
|---|---|
blank-lines-above-title |
Number of blank lines above the title. If omitted, defaults to 2 double-spaced lines. APA style requests that you put your title 3 to 4 lines (i.e., 1.5 to 2 double-spaced lines) down from the top of the title page. |
blank-lines-above-author-note |
Number of double-spaced lines between author affiliations and author note. APA style wants the note to start around the middle of the page. You can play with the number. It defaults to 2 if omitted. |
Options for .pdf
As of 6.0.0 the .pdf is set in plain \(\LaTeX\) rather than with the apa7 class, so these are apaquarto’s own options and no longer those of apa7. Four fields that belonged to that class — donotrepeattitle, draftfirst, draftall and nocorrespondence — no longer do anything; the first has become suppress-title-introduction and the last suppress-corresponding-paragraph, both of which work in every format. A document’s own yaml is otherwise unchanged.
| Field | Explanation |
|---|---|
documentmode |
Alter the overall style of the document. Options include:
Each mode may also be spelled out: |
|
Fields that are used only for student papers ( Example: |
journal volume copyrightnotice copyrighttext |
Fields that are used only for journal articles ( Example: |
fontsize |
Size of font. Options include |
papersize |
The paper size, Replaces apa7’s |
first-page |
The number the first page carries, and the number the pages count on from. Useful for a chapter or an article that begins partway into a volume. Defaults to 1. |
Document modes in pdf and typst
The documentmode field works in apaquarto-typst as well as apaquarto-pdf. All four modes are supported: man (manuscript), jou (journal, two columns), doc (a plain continuous document), and stu (student paper). In both formats each mode may also be named in full: journal, manuscript, document, and student are accepted as aliases for jou, man, doc, and stu.
In stu mode the student-paper fields course, professor, duedate, and note are placed on the title page.
In jou mode the journal metadata is set as a masthead at the head of the first page, the way the journals set one: the journal’s name at the right with its logo opposite, a rule under both, and the issue on the right beneath it with the copyright on the left. All of it goes under journal, which Quarto reserves as an object:
journal:
title: "Journal of Educational Psychology"
logo: apa-logo.png
year: 2026
volume: 118
issue: 6
pages: 869--888
url: "https://doi.org/10.1037/edu0000976"
issn: 0022-0663
copyrightnotice: 2025
copyrighttext: "The Author(s)"which is set as
| logo | Journal of Educational Psychology |
| © 2025 The Author(s) | 2026, Vol. 118, No. 6, 869–888 |
| ISSN: 0022-0663 | https://doi.org/10.1037/edu0000976 |
logo is a path to an image file, read the same way a path in the document is. Writing logo: default instead of a path uses the apaquarto logo, which the extension ships with, so that a masthead can be seen without one having to be found first.
Every field is optional, and anything left out is simply left out: a journal with nothing but a title gives the name and the rule and no more. The words “Vol.” and “No.” can be changed with journal-volume and journal-issue in the language field.
Tables of contents, figures, and tables
Each of these stands on a page of its own, after the abstract, the impact statement, the keywords and the supplemental materials, and before the body of the paper.
| Field | Explanation |
|---|---|
list-of-contents |
A table of contents, in every format. Each format reaches it differently: typst has an outline of its own, the .pdf has LaTeX’s, the .docx is built by hand, and .html has neither pages nor fields, so an entry there is the heading and a link to it.
In .docx Only the headings that belong in a contents are listed: the title page’s headings and anything marked |
list-of-figures |
A list of figures, in .docx, typst and .pdf. |
list-of-tables |
A list of tables, in .docx, typst and .pdf. |
list-of-figures and list-of-tables are for .docx, typst and the .pdf; an entry in either reads Figure 1. The Figure Caption, with a leader out to the page number. Neither is built for .html, which has no pages to find.
In .docx those page numbers are fields, since nothing before Word lays the pages out knows what they are. They are blank when the file is opened and fill in correctly as soon as anything makes Word paginate: select all and press F9, or print, or export to pdf. Rendering says as much.
format:
apaquarto-docx:
list-of-contents: true
list-of-figures: true
list-of-tables: trueOptions for .html
With one exception, everything that works for .docx should work for .html. For .html, there is no benefit to having line numbers in the text because the text wrapping differs depending on the device and size of the window the document is being viewed.
The Introduction Heading
APA does not label the introduction. The title of the paper stands at the top of the first page of text and the introduction runs on underneath it, so a heading reading Introduction is one heading too many.
apaquarto takes such a heading out for you. If the first heading in the body is a level-one heading whose text is Introduction, it is removed and the text under it is left where it is. A heading called Introduction anywhere else — inside an appendix, say — is left alone, as is one at any other level.
This matters most when the abstract is written as a section of the document, since something has to mark where the abstract ends and a heading is the obvious thing to reach for:
# Abstract
The abstract goes here.
# Introduction
The body of the paper starts here, and the heading above it does not
appear in the output.The word it looks for is section-title-introduction in the language field, so a paper written in another language is matched too. To keep the heading, set keep-introduction-heading: true.
Suppress Elements
Any of the elements below can be selectively suppressed from the document by setting the field to true.
| Field | Explanation |
|---|---|
suppress-title-page |
Suppress the entire title page |
suppress-title |
Suppress the title on the title page |
suppress-short-title |
Suppress the short title in the running header |
suppress-author |
Suppresses the author names below the title. Does not suppress author names in the author note. |
suppress-affiliation |
Suppress affiliations below the author names. Does not suppress the affiliation in the correspondence note. |
suppress-author-note |
Suppress the entire author note |
suppress-orcid |
Suppress the author ORCID numbers |
suppress-status-change-paragraph |
Suppress the paragraph about status changes (affiliation changes and deceased authors) |
suppress-disclosures-paragraph |
Suppress the paragraph about disclosures (study registration, data sharing, related reports, conflicts of interest, financial support, statements of gratitude, and authorship agreements) |
suppress-credit-statement |
Suppress the credit statement |
suppress-corresponding-paragraph |
Suppress the entire correspondence paragraph |
suppress-corresponding-group |
Suppress the group in the correspondence address |
suppress-corresponding-department |
Suppress the department in the correspondence address |
suppress-corresponding-address |
Suppress the street address in the correspondence address |
suppress-corresponding-city |
Suppress the city in the correspondence address |
suppress-corresponding-region |
Suppress the region/state in the correspondence address |
suppress-corresponding-postal-code |
Suppress the postal code in the correspondence address |
suppress-corresponding-email |
Suppress the email address in the correspondence address |
suppress-abstract |
Suppress the abstract. In the .pdf document, this will also suppress the keywords. |
suppress-impact-statement |
Suppress the impact statement |
suppress-keywords |
Suppress the keywords below the abstract |
suppress-supplemental-materials |
Suppress the supplemental materials line below the keywords |
suppress-title-introduction |
Suppress the title in the introduction |
Language Options
You can alter the names of Abstract, Figures, Tables, and References by setting the lang field to one of these languages:
| Code | Language |
|---|---|
en |
English |
zh |
Chinese |
es |
Spanish |
fr |
French |
ja |
Japanese |
de |
German |
pt |
Portuguese |
ru |
Russian |
cs |
Czech |
fi |
Finnish |
nl |
Dutch |
it |
Italian |
pl |
Polish |
ko |
Korean |
However, there are a few options that are specific to apaquarto and thus were not anticipated by Quarto.
| Field | Explanation | Default |
|---|---|---|
citation-last-author-separator |
APA-style in-text citations with multiple authors are separated by commas with the appropriate translation of the word and before the last author. | and |
citation-masked-author |
The phrase to replace author names in masked citations. | Masked Citation |
citation-masked-date |
The abbreviated translation for “no date” in masked citations | n.d. |
email |
The translation for “Email” in correspondence note | |
citation-masked-title |
The abbreviated translation for “Masked Title” in masked citations | Masked Title |
figure-table-note |
The translation for “Note” in table and figure notes | Note |
title-block-author-note |
The heading of the author note | Author Note |
title-block-correspondence-note |
The phrase introducing the correspondence note. | Correspondence concerning this article should be addressed to |
title-block-role-introduction |
The phrase introducing the author roles. | Author roles were classified using the Contributor Role Taxonomy (CRediT; https://credit.niso.org/) as follows: |
title-impact-statement |
The heading for the impact statement | Impact Statement |
title-supplemental-materials |
The phrase before the value of supplemental-materials |
Supplemental materials |
title-word-count |
The phrase before the word count when word-count: true |
Word Count |
references-meta-analysis |
The sentence explaining that citations marked with an asterisk were studies in the meta-analysis. | References marked with an asterisk indicate studies included in the meta-analysis. |
All these options must be listed under the language field . For example, if we set the lang field to es (Spanish), the remaining options can also be set:
lang: es
language:
citation-last-author-separator: "y"
citation-masked-author: "Cita Enmascarada"
citation-masked-title: "Título Enmascarado"
citation-masked-date: "n.f."
title-block-author-note: "Nota de Autores"
title-block-correspondence-note: "La correspondencia relativa a este artículo debe dirigirse a"
title-block-role-introduction: "Los roles de autor se clasificaron utilizando la taxonomía de roles de colaborador (CRediT; https://credit.niso.org/) de la siguiente manera:"
references-meta-analysis: "Las referencias marcadas con un asterisco indican estudios incluidos en el metanálisis."
title-impact-statement: "Declaración de Impacto"
title-word-count: "Recuento de Palabras"In addition, many terms that are translated automatically can be overridden. The full list is here. For example, if I wanted “Figure” in figure captions to be “Plot” instead, I would specify the change like so:
language:
crossref-fig-title: "Plot"Here are the language terms most likely to be used in apaquarto:
| Field: English Default | Explanation |
|---|---|
section-title-abstract: Abstract |
Abstract title |
section-title-references: References |
References title |
title-block-keywords: Keywords |
Keywords |
crossref-fig-title: Figure |
Figure title prefix |
crossref-tbl-title: Table |
Table title prefix |
crossref-apx-prefix: Appendix |
Appendix title prefix |
crossref-eq-prefix: Equation |
Equation title prefix |