bsdoc
objectbsdoc
object. The function has
the same behaviour than addParagraph, except that its content will be
written in the footer part of the bsdoc
instead of the body of
the document.
"addFooter"(doc, value, par.properties = parProperties(), restart.numbering = FALSE, ...)
bsdoc
objectpot
or an object of
class set_of_paragraphs
or a character vector.parProperties
to apply to paragraphs.TRUE
, next numbered
list counter will be set to 1.bsdoc
object
bsdoc
doc.filename = "addFooter/example.html"
options( "ReporteRs-fontsize" = 11 )
doc = bsdoc( )
doc = addFooter( doc, value = pot( "Code licensed under ",
format = textProperties(color="gray") ) +
pot("GPL-3", format = textProperties(color="#428bca"),
hyperlink = "https://gnu.org/licenses/gpl.html" ) +
pot(".", format = textProperties(color="gray") ),
par.properties = parCenter( padding = 2 )
)
writeDoc( doc, file = doc.filename )
Run the code above in your browser using DataLab