Create a new APA 7 article using a template
mainYou can generate a new Quarto document pre-configured with APA 7 style settings using the apaquarto template. You can do this via the R console or the terminal.
Via R Console
- Ensure the
quartoR package is installed (requires version 1.4 or higher). - Set your working directory to the desired location.
- Run
quarto::quarto_use_template("wjschne/apaquarto"). - Confirm the author trust prompt by answering
YesorY.
Via Terminal
- Navigate to your target folder.
- Run
quarto use template wjschne/apaquarto. - Confirm the author trust prompt.
- Provide a name for the new folder when prompted.
After installation, a .qmd file will be created. You can use the generated template file (which includes explanations and examples) or start with minimal.qmd for a cleaner slate.
# Install the required R package if not present
install.packages("quarto")
# Set working directory and use the template
setwd("path/to/my/folder")
quarto::quarto_use_template("wjschne/apaquarto")