Skip to content

Commit

Permalink
issue377
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Nov 7, 2024
1 parent 14db172 commit 4be6e6b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 23 deletions.
1 change: 0 additions & 1 deletion R/style_tt.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
#' @param output Apply style only to the output format specified by this argument. `NULL` means that we apply to all formats.
#' @param ... extra arguments are ignored
#' @return An object of class `tt` representing the table.
#' @template latex_preamble
#' @export
#' @examplesIf knitr::is_html_output()
#' @examples
Expand Down
4 changes: 3 additions & 1 deletion man-roxygen/latex_preamble.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
#'
#' `tinytable` uses the `tabularray` package from your LaTeX distribution to draw tables. `tabularray`, in turn, uses the special `tblr`, `talltblr`, and `longtblr` environments.
#'
#' When rendering a document from Quarto or Rmarkdown directly to PDF, `tinytable` will populate the LaTeX preamble automatically with all the required packages (except when code chunks are cached). For standalone LaTeX documents, these commands should be inserted in the preamble manually:
#' When rendering a document from Quarto or Rmarkdown directly to PDF, `tinytable` will populate the LaTeX preamble automatically with all the required packages. For standalone LaTeX documents, these commands should be inserted in the preamble manually:
#'
#' Note: Your document will fail to compile to PDF in Quarto if you enable caching and you use tinytable due to missing LaTeX headers. To avoid this problem, set the option `#| cache: false` for the chunk(s) where you use tinytable.
#'
#' ```latex
#' \usepackage{tabularray}
Expand Down
20 changes: 0 additions & 20 deletions man/style_tt.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/tt.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4be6e6b

Please sign in to comment.