flextable (version 0.5.6)

fontsize: Set font size

Description

change font size of selected rows and columns of a flextable.

Usage

fontsize(x, i = NULL, j = NULL, size = 11, part = "body")

Arguments

x

a flextable object

i

rows selection

j

columns selection

size

integer value (points)

part

partname of the table (one of 'all', 'body', 'header', 'footer')

See Also

Other sugar functions for table style: align, bg, bold, color, empty_blanks, font, italic, padding, rotate, valign

Examples

Run this code
# NOT RUN {
ft <- flextable(mtcars)
ft <- fontsize(ft, size = 14, part = "header")
# }

Run the code above in your browser using DataCamp Workspace