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()
character. The package name.
character. The symbols written just before each package name.
character. The symbols written just after each package name.
character. The end of line for the main text (but not for the
header and the footer). "\n"
for text, " \n"
for rmarkdown, " \\ \n"
for latex.
data.frame crandb
. The data.frame of CRAN packages.
character. The address of your local CRAN.
character. The title of the .md document (and then in the .pdf file).
character. The author of the .md document.
character. The date of the document. Any text format is accepted.
character. "true" or "false".
character. "true" or "false".
character. "true" or "false".
character. Usually "10pt", "11pt", "12pt.
character. The usual tex format. Example: "a4paper".
character. In inches, cm or mm. Example: "0.5in", "1.5cm", "25mm".