Memor PDF Memo Template
pdf_memo(use_profile = TRUE, logo = NULL, company = NULL,
short_title = NULL, watermark = NULL, confidential = FALSE,
libertine = FALSE, chinese = FALSE, logo_height = "1.2cm",
watermark_color = "gray", footer_on_first_page = TRUE, toc = FALSE,
lot = FALSE, lof = FALSE, fancy_captions = TRUE,
number_sections = TRUE, latex_engine = "xelatex", ...)
T/F value for whether the user profile in
~/memor-profile.yaml
will be loaded. Default is TRUE
.
File path to Company logo file. The logo will be printed on
the top right corner of the first page and the size will be adjusted to
logo_height
.
Company Name as the page footnote. You can input a list of values, such as company name, address, telephone and email.
A shorten version of the title to be printed on the top-right corner of every page, except the front page.
Watermark Text to be printed on the page. You can change
its color via watermark_color
.
T/F value for whether a red confidential sign will be printed.
T/F. Libertine is a collection of open fonts for western
languages. We found it fits this template quite well. Default is FALSE
though we highly recommend you to turn it on.
T/F for Chinese language support. Default is FALSE
.
Height of the logo image. This logo image will be scaled to height and the default height is 1.2cm.
Color for the watermark text. Default is "gray".
T/F value for whether the company info footer will be displayed on the front page.
T/F value for table of contents. See ?rmarkdown::pdf_document for details
T/F value for list of tables.
T/F value for list of figures.
T/F value for whether to apply special formatting to captions.
T/F value for whether sections should be numbered. See ?rmarkdown::pdf_document for details
LaTeX engine. See ?rmarkdown::pdf_document for details
other options to be passed to rmarkdown::pdf_document. See ?rmarkdown::pdf_document for details
# NOT RUN {
library(rmarkdown)
example <- system.file("example/demo.Rmd", package = "memor")
render(example, memor::pdf_memo())
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab