diff --git a/R/styles.R b/R/styles.R index 60b6930c..19f63ab1 100644 --- a/R/styles.R +++ b/R/styles.R @@ -493,6 +493,9 @@ font <- function(x, i = NULL, j = NULL, fontname, part = "body", cs.family = fon #' @export #' @title Set paragraph paddings #' @description change paddings of selected rows and columns of a flextable. +#' @note +#' Padding is not implemented in PDF due to technical infeasibility but +#' it can be replaced with `set_table_properties(opts_pdf = list(tabcolsep = 1))`. #' @param x a flextable object #' @param i rows selection #' @param j columns selection diff --git a/man/padding.Rd b/man/padding.Rd index 4544156c..ea2054cc 100644 --- a/man/padding.Rd +++ b/man/padding.Rd @@ -38,6 +38,10 @@ padding( \description{ change paddings of selected rows and columns of a flextable. } +\note{ +Padding is not implemented in PDF due to technical infeasibility but +it can be replaced with \code{set_table_properties(opts_pdf = list(tabcolsep = 1))}. +} \examples{ ft_1 <- flextable(head(iris)) ft_1 <- theme_vader(ft_1)