Most article formats are based on rmarkdown::pdf_document()
, with a
custom Pandoc LaTeX template and different default values for other arguments
(e.g., keep_tex = TRUE
).
acm_article(...)acs_article(
...,
keep_tex = TRUE,
md_extensions = c("-autolink_bare_uris"),
fig_caption = TRUE
)
aea_article(..., keep_tex = TRUE, md_extensions = c("-autolink_bare_uris"))
agu_article(
...,
keep_tex = TRUE,
citation_package = "natbib",
highlight = NULL,
md_extensions = c("-autolink_bare_uris", "-auto_identifiers")
)
amq_article(
...,
latex_engine = "xelatex",
keep_tex = TRUE,
fig_caption = TRUE,
md_extensions = c("-autolink_bare_uris")
)
ams_article(..., keep_tex = TRUE, md_extensions = c("-autolink_bare_uris"))
asa_article(..., keep_tex = TRUE, citation_package = "natbib")
biometrics_article(..., keep_tex = TRUE, citation_package = "natbib")
ctex(..., latex_engine = "xelatex")
elsevier_article(
...,
keep_tex = TRUE,
md_extensions = c("-autolink_bare_uris")
)
frontiers_article(..., keep_tex = TRUE)
mdpi_article(..., keep_tex = TRUE)
mnras_article(..., keep_tex = TRUE, fig_caption = TRUE)
oup_article(
...,
citation_package = "natbib",
keep_tex = TRUE,
md_extensions = c("-autolink_bare_uris")
)
peerj_article(..., keep_tex = TRUE)
plos_article(..., keep_tex = TRUE, md_extensions = c("-autolink_bare_uris"))
pnas_article(..., keep_tex = TRUE)
sage_article(..., highlight = NULL, citation_package = "natbib")
sim_article(..., highlight = NULL, citation_package = "natbib")
springer_article(..., keep_tex = TRUE, citation_package = "none")
tf_article(..., keep_tex = TRUE, citation_package = "natbib")
Arguments passed to rmarkdown::pdf_document()
.
An R Markdown output format.
Format for creating an Association for Computing Machinery (ACM) articles. Adapted from http://www.acm.org/publications/article-templates/proceedings-template.html.
Format for creating an American Chemical Society (ACS) Journal articles. Adapted from http://pubs.acs.org/page/4authors/submission/tex.html.
Format for creating submissions to the American Economic Association (AER, AEJ, JEL, PP).
Format for creating a American Geophysical Union (AGU) article. Adapted from https://publications.agu.org/author-resource-center/checklists-and-templates/.
Ce format a <U+00E9>t<U+00E9> adapt<U+00E9> du format du bulletin de l'AMQ.
Format for creating an American Meteorological Society (AMS) Journal articles. Adapted from https://www.ametsoc.org/ams/index.cfm/publications/authors/journal-and-bams-authors/author-resources/latex-author-info/.
This format was adapted from The American Statistican (TAS) format, but it should be fairly consistent across American Statistical Association (ASA) journals.
This format was adapted from the Biometrics journal.
A wrapper function for rmarkdown::pdf_document()
and changed the default values of two arguments template
and
latex_engine
so it works better for typesetting Chinese documents
with the ctex LaTeX package.
Format for creating submissions to Elsevier journals. Adapted from https://www.elsevier.com/authors/author-schemas/latex-instructions.
Format for creating Frontiers journal articles. Adapted from http://home.frontiersin.org/about/author-guidelines.
Format for creating submissions to Multidisciplinary Digital Publishing Institute (MDPI) journals. Adapted from http://www.mdpi.com/authors/latex.
Format for creating an Monthly Notices of Royal Astronomical Society (MNRAS) Journal articles. Adapted from https://www.ras.org.uk/news-and-press/2641-new-version-of-the-mnras-latex-package.
Format for creating submissions to many Oxford University Press journals. Adapted from https://academic.oup.com/journals/pages/authors/preparing_your_manuscript and https://academic.oup.com/icesjms/pages/General_Instructions.
Format for creating submissions to The PeerJ Journal. This was adapted from the PeerJ Overleaf Template.
Format for creating submissions to PLOS journals. Adapted from http://journals.plos.org/ploscompbiol/s/latex.
Format for creating submissions to PNAS journals.
Format for creating submissions to Sage Journals. Based on the official Sage Journals class.
Possible arguments for the YAML header are:
title
title of the manuscript
runninghead
short author list for header
author
list of authors, containing name
and num
address
list containing num
and org
for defining author
affiliations
corrauth
corresponding author name and address
email
correspondence email
abstract
abstract, limited to 200 words
keywords
keywords for the article
bibliography
BibTeX .bib
file name
classoption
options of the sagej
class
header-includes
: custom additions to the header, before the \begin{document}
statement
include-after
: for including additional LaTeX code before the \end{document}
statement
Format for creating submissions to Statistics in Medicine. Based on the official Statistics in Medicine class.
Possible arguments for the YAML header are:
title
title of the manuscript
author
list of authors, containing name
and num
address
list containing num
and org
for defining author
affiliations
presentaddress
not sure what they mean with this
corres
author and address for correspondence
authormark
short author list for header
received
, revised
, accepted
dates of submission, revision, and acceptance of the manuscript
abstract
abstract, limited to 250 words
keywords
up to 6 keywords
bibliography
BibTeX .bib
file
classoption
options of the WileyNJD-v2
class
longtable
set to true
to include the longtable
package, used by default from pandoc
to convert markdown to LaTeX code
header-includes
: custom additions to the header, before the \begin{document}
statement
include-after
: for including additional LaTeX code before the \end{document}
statement
This format was adapted from the Springer Macro package for Springer Journals.
Format for creating submissions to a Taylor & Francis journal. Adapted from http://www.tandf.co.uk/journals/authors/InteractCADLaTeX.zip.
You can find more details about each output format below.
# NOT RUN {
rmarkdown::draft("MyArticle.Rmd", template = "acm_article", package = "rticles")
rmarkdown::draft("MyArticle.Rmd", template = "asa_article", package = "rticles")
# }
Run the code above in your browser using DataCamp Workspace