Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 24, 2024
1 parent d1fad36 commit 246e3c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vignettes/tutorial.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand All @@ -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},")
```
:::

Expand Down

0 comments on commit 246e3c7

Please sign in to comment.