| fontsize {flextable} | R Documentation |
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(),
highlight(),
italic(),
keep_with_next(),
line_spacing(),
padding(),
rotate(),
tab_settings(),
valign()
Examples
ft <- flextable(head(iris))
ft <- fontsize(ft, size = 14, part = "header")
ft <- fontsize(ft, size = 14, j = 2)
ft <- fontsize(ft, size = 7, j = 3)
ft
[Package flextable version 0.9.6 Index]