Add Document Subtitle
add_subtitle.RdAdd Document Subtitle
Arguments
- wb
A Workbook object containing a worksheet.
- x
(character) The document subtitle
- sheet
The worksheet to write to. Can be the worksheet index or name.
- row
in which row the subtitle should be added. Default = 2
- doc_width
(single character or numeric) Up to which column should the texts spread? Default = "G"
Examples
wb <- openxlsx2::wb_workbook()
style_datadict(wb)
wb$add_worksheet()
add_subtitle(wb, "My Subtitle")