header_latex: latex header and footer

Description Usage Arguments Value Author(s) See Also Examples

View source: R/renderer.R

Description

These functions return appropriate header and footer functions for the latex renderer

Usage

1
2
header_latex(document, styles, boxes, minipage = FALSE)
footer_latex(document, minipage = FALSE)

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

Value

A function is returned, suitable for the header or footer argument of the latex renderer

Author(s)

Romain Francois <romain@r-enthusiasts.com>

See Also

renderer_latex

Examples

1
2
3
4
5
6
7
## Not run: 
h <- header_latex( document = FALSE )
h()
f <- footer_latex( document = FALSE )
f()

## End(Not run)

halpo/highlight documentation built on May 17, 2019, 2:26 p.m.