funmaintext | R Documentation |
Use funmaintext
or funmaintext2
to select the function that displays
the main text. Usage is f\_maintext = funmaintext
(without curly braces).
Use funheadermd
to insert markdown header in function sep1 = funheadermd()
(with curly braces).
See the example in p\_text
. To create you own functions, use these functions
as a pattern. The five parameters in f\_maintext, funmaintext
are mandatory.
funheadermd
can be freely modified.
funmaintext(pkg, sep1, sep2, eol, crandb, repos)
funmaintex(pkg, sep1, sep2, eol, crandb, repos)
funheadermd(title = "TITLE", author = "AUTHOR", date = Sys.Date(),
keep_tex = "false", toc = "false", number_sections = "true",
fontsize = "10pt", papersize = "a4paper", margin = "1in")
funheadertex(fontsize = "10pt", papersize = "a4paper", margin = "1in")
funfootertex()
pkg |
character. The package name. |
sep1 |
character. The symbols written just before each package name. |
sep2 |
character. The symbols written just after each package name. |
eol |
character. The end of line for the main text (but not for the
header and the footer). |
crandb |
data.frame |
repos |
character. The address of your local CRAN. |
title |
character. The title of the .md document (and then in the .pdf file). |
author |
character. The author of the .md document. |
date |
character. The date of the document. Any text format is accepted. |
keep_tex |
character. "true" or "false". |
toc |
character. "true" or "false". |
number_sections |
character. "true" or "false". |
fontsize |
character. Usually "10pt", "11pt", "12pt. |
papersize |
character. The usual tex format. Example: "a4paper". |
margin |
character. In inches, cm or mm. Example: "0.5in", "1.5cm", "25mm". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.