View source: R/create_pdf_header.R
Create content of latex header.tex file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | pdf_header(
author,
title,
email,
description,
slogan = "R report",
created_on = "Created on",
bg = "Background_dark_topdown_ThinkR.png",
bg.title = "Background_Title_dark_ThinkR.png",
link.col = "#FF8000",
section.color = "#2447c4",
main.col = "#192ac7",
company,
company_url
)
|
author |
Name of the author of the report |
title |
Title of the report |
email |
Email for contact |
description |
Short description of the report |
slogan |
Sentence that |
created_on |
Allow translation for "Created on" |
bg |
path to PNG image used a main background |
bg.title |
path to PNG image used a Report Title background |
link.col |
Color in the R language (name or hex) |
section.color |
Color of section titles |
main.col |
Color of the title on the title page and Company name in header |
company |
company name |
company_url |
company_url |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.