header_latex: latex header and footer
Description
These functions return appropriate header and footer functions
for the latex renderer
Usage
header_latex(document, styles, boxes, minipage = FALSE)footer_latex(document, minipage = FALSE)
Value
A function is returned, suitable for the header or footer argument
of the latex renderer
Arguments
- document
logical. If TRUE the header and footer functions will create the
full document (including preamble with boxes and styles)
- styles
a vector of style definitions to include in the preamble if document is TRUE
- boxes
a vector of boxes definitions to include in the preamble if document is TRUE
- minipage
if TRUE
, the highlighted latex is included in a minipage environment
Examples
Run this code
h <- header_latex( document = FALSE )
h()
f <- footer_latex( document = FALSE )
f()
Run the code above in your browser using DataLab