From 246e3c7e85d823a782c1e07658d71ea25c28d23f Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Wed, 24 Jan 2024 12:08:13 -0500 Subject: [PATCH] docs --- vignettes/tutorial.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vignettes/tutorial.qmd b/vignettes/tutorial.qmd index 88568169..3bc2ef1d 100644 --- a/vignettes/tutorial.qmd +++ b/vignettes/tutorial.qmd @@ -286,7 +286,7 @@ dat <- data.frame(Math = c( "$x^2 + y^2 = z^2$", "$\\frac{1}{2}$" )) -tt(dat) |> style_tt(align = "c") +tt(dat) |> style_tt(j = 1, align = "c") ``` ::: {.content-visible when-format="pdf"} @@ -296,7 +296,7 @@ In LaTeX (PDF), you can also use the `mode` inner setting from `tabularray` to r dat <- data.frame(Math = c("x^2 + y^2 = z^2", "\\frac{1}{2}")) tt(dat) |> - style_tt(align = "c", tabularray_inner = "column{1}={mode=math},") + style_tt(j = 1, align = "c", tabularray_inner = "column{1}={mode=math},") ``` :::