From 0e7cf697af327e25a58dd17180a4fbfef29ad2ba Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Sat, 3 Feb 2024 09:24:08 -0500 Subject: [PATCH] docs --- R/style_tt.R | 2 +- man/style_tt.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/style_tt.R b/R/style_tt.R index b19fcdef..cc3032a4 100644 --- a/R/style_tt.R +++ b/R/style_tt.R @@ -43,7 +43,7 @@ #' + Can be combined such as: "lbt" to draw borders at the left, bottom, and top. #' @param line_color Color of the line. See the `color` argument for details. #' @param line_width Width of the line in em units (default: 0.1). -#' @param bootstrap_class String. A Bootstrap table class such as `"table"`, `"table table-dark"` or `"table table-dark table-hover"`. See the bootstrap documentation. +#' @param bootstrap_class String. A Bootstrap table class such as `"table"`, `"table table-dark"` or `"table table-dark table-hover"`. See the bootstrap documentation. Note that some classes will work in standalone HTML files saved with `save_tt()`, but not in Quarto/Rmarkdown documents, because the latter rely on the `bslib` package, which only supplies a partial implementation of Bootstrap. #' @param bootstrap_css A vector of CSS style declarations to be applied (ex: `"font-weight: bold"`). Each element corresponds to a cell defined by `i` and `j`. #' @param bootstrap_css_rule A string with complete CSS rules that apply to the table class specified using the `theme` argument of the `tt()` function. #' @param tabularray_inner A string that specifies the "inner" settings of a tabularray LaTeX table. diff --git a/man/style_tt.Rd b/man/style_tt.Rd index ce9bc5c8..f37355f5 100644 --- a/man/style_tt.Rd +++ b/man/style_tt.Rd @@ -98,7 +98,7 @@ style_tt( \item{tabularray_outer}{A string that specifies the "outer" settings of a tabularray LaTeX table.} -\item{bootstrap_class}{String. A Bootstrap table class such as \code{"table"}, \code{"table table-dark"} or \code{"table table-dark table-hover"}. See the bootstrap documentation.} +\item{bootstrap_class}{String. A Bootstrap table class such as \code{"table"}, \code{"table table-dark"} or \code{"table table-dark table-hover"}. See the bootstrap documentation. Note that some classes will work in standalone HTML files saved with \code{save_tt()}, but not in Quarto/Rmarkdown documents, because the latter rely on the \code{bslib} package, which only supplies a partial implementation of Bootstrap.} \item{bootstrap_css}{A vector of CSS style declarations to be applied (ex: \code{"font-weight: bold"}). Each element corresponds to a cell defined by \code{i} and \code{j}.}