setHtmlHeaderProperty: Set the formatting properties of Title, Author, and Date in...

View source: R/rmd.util.r

setHtmlHeaderPropertyR Documentation

Set the formatting properties of Title, Author, and Date in Rmd file

Description

Font size in px, font family, and color can be set. Alignment is center.

Usage

setHtmlHeaderProperty(
    titleFontSize = NULL, titleFontFamily = NULL, titleColor = NULL,
    authorFontSize = NULL, authorFontFamily = NULL, authorColor = NULL,
    dateFontSize = NULL, dateFontFamily = NULL, dateColor = NULL,
    pageWidth=NULL,tableWidth = 100)

Arguments

titleFontSize
titleFontFamily
titleColor
authorFontSize
authorFontFamily
authorColor
dateFontSize
dateFontFamily
dateColor
pageWidth

(numeric) the page width in px

tableWidth

(numeric) the percentage of table width over page width

References

stackoverflow link

Examples

setHtmlHeaderProperty(titleFontSize=18,
    titleFontFamily='"Times New Roman", Times, serif',
    titleColor='DarkBlue')

blueskypie/wfr documentation built on Feb. 6, 2024, 4:38 p.m.