LaTeX-specific styles and options

Description

LaTeX-specific styles and options

Usage

theme_latex(
  x,
  inner = NULL,
  outer = NULL,
  environment = get_option("tinytable_latex_environment", default = NULL),
  environment_table = get_option("tinytable_latex_environment_table", default = TRUE),
  multipage = get_option("tinytable_latex_multipage", default = FALSE),
  rowhead = get_option("tinytable_latex_rowhead", 0L),
  rowfoot = get_option("tinytable_latex_rowfoot", 0L),
  resize_width = get_option("tinytable_latex_resize_width", 1),
  resize_direction = get_option("tinytable_latex_resize_direction", default = NULL),
  placement = get_option("tinytable_latex_placement", NULL),
  ...
)

Arguments

x A tinytable object.
inner A string that specifies the "inner" settings of a tabularray LaTeX table.
outer A string that specifies the "outer" settings of a tabularray LaTeX table.
environment A string that specifies the LaTeX environment to use, default is "tblr".
environment_table Logical. If TRUE, wraps the table in a LaTeX table environment. If FALSE, uses the tblr environment directly. A table environment cannot be used with longtblr environments.
multipage Logical. If TRUE, enables multipage mode for LaTeX tables (longtblr environments).
rowhead Number of rows to repeat as header on each page. When >= 1, automatically enables multipage mode.
rowfoot Number of rows to repeat as footer on each page. When >= 1, automatically enables multipage mode.
resize_width Numeric between 0.01 and 1, representing the proportion of line width for table resizing. Defaults to get_option(“tinytable_theme_resize_width”, 1). Only applies when resize_direction is specified.
resize_direction Character string indicating resize direction: "down", "up", or "both". Defaults to get_option(“tinytable_theme_resize_direction”, “down”). When NULL, no resizing is applied.
placement String to insert in square brackets after the LaTeX table environment, ex: "H", "htbp". Defaults to get_option(“tinytable_latex_placement”, NULL). When NULL, no placement is applied.
Additional arguments.