ps_manuscript_pdf: Political Science PDF manuscript format

Description Usage Arguments Value Examples

View source: R/ps_manuscript.R

Description

Format for submitting a manuscript to a political science journal. Adapted from APSA Style Manual for Political Science, and the submission instructions for APSA, AJPS, JOP, and Political Analysis.

Usage

1
2
3
4
5
6
ps_manuscript_pdf(..., number_sections = FALSE, fig_caption = TRUE,
  dev = "pdf", highlight = NULL, latex_engine = "xelatex",
  citation_package = "natbib", pandoc_args = NULL, margin = 1,
  fontsize = 12, linestretch = 2, colorlinks = FALSE)

ps_manuscript_word(..., csl = NULL)

Arguments

...

Additional arguments to rmarkdown::pdf_document

number_sections

TRUE to number section headings

fig_caption

TRUE to render figures with captions

dev

Graphics device to use for figure output (defaults to pdf)

highlight

Syntax highlighting style. Supported styles include "default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", and "haddock". Pass NULL to prevent syntax highlighting.

latex_engine

LaTeX engine for producing PDF output. Options are "pdflatex", "lualatex", and "xelatex".

citation_package

The LaTeX package to process citations, natbib or biblatex. Use none if neither package is to be used.

pandoc_args

Additional command line options to pass to pandoc

csl

Path to CSL file to use

Value

R Markdown output format to pass to render

Examples

1
2
3
4
5
## Not run: 
library(rmarkdown)
draft("MyManuscript.Rmd", template = "ps_manuscript_pdf", package = "rmdmanuscript")

## End(Not run)

jrnold/apsamanu documentation built on May 19, 2019, 11:55 p.m.