padding

0th

Percentile

Set paragraph paddings

change paddings of selected rows and columns of a flextable.

Usage
padding(x, i = NULL, j = NULL, padding = NULL, padding.top = NULL,
  padding.bottom = NULL, padding.left = NULL, padding.right = NULL,
  part = "body")
Arguments
x

a flextable object

i

rows selection

j

columns selection

padding

padding (shortcut for top, bottom, left and right)

padding.top

padding top

padding.bottom

padding bottom

padding.left

padding left

padding.right

padding right

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, fontsize, font, italic, rotate, valign

Aliases
  • padding
Examples
# NOT RUN {
ft <- flextable(mtcars)
ft <- padding(ft, padding.top = 4)
# }
Documentation reproduced from package flextable, version 0.5.6, License: GPL-3

Community examples

Looks like there are no examples yet.