Description Usage Arguments Examples
Manually add an openxlsx s4 style the style catalogue
1 2  | style_catalogue_add_openxlsx_style(tab, style_string, openxlsx_style,
  row_height = NULL)
 | 
tab | 
 a table object  | 
style_string | 
 the name (key) in the tab$style_catalogue  | 
openxlsx_style | 
 an openxlsx s4 style  | 
row_height | 
 the height of the row. optional.  | 
1 2 3 4 5 6  | tab <- xltabr::initialise()
s4style <- openxlsx::createStyle(fontName = "Courier",
                                 fontColour = "#80a9ed",
                                 fontSize = 20,
                                 numFmt =  "£    #,###")
tab <- style_catalogue_add_openxlsx_style(tab, "custom", s4style, row_height = 40)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.