a^{b}
',
subscript as 'a_{b}
' and bold as 'bold{a}
' in the
the input summary table.Format superscript/subscripts/bold cells in a flextable.
Superscript should be indicated as: 'a^{b}
',
subscript as 'a_{b}
' and bold as 'bold{a}
' in the
the input summary table.
formatCustomFlextable(
dataTable,
ft,
fontname = "Times",
part = "body",
fontsize = 8,
iBase = 0,
bold = FALSE
)
flextable
with superscript/subscript.
data.frame with data used in table, summary table for body or header data.frame for the header.
Corresponding flextable
.
String with font name, 'Times' by default.
string with part of the table to consider,
see compose
.
Integer with font size, 8 by default.
Integer with base row index (if different than 0).
Logical (FALSE by default) should the superscript/subscript be indicated in bold?
Laure Cougnaud