You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
z <- data.frame(pi = c(pi * 100, pi * 1000, pi * 10000, pi * 100000))
tt(z) |>
format_tt(j = 1, digits = 8, num_fmt = "significant_cell") |>
style_tt(i = 1, align = "d") |> print("latex")
LaTeX:
\begin{table}
\centering
\begin{tblr}[ %% tabularray outer open
] %% tabularray outer close
{ %% tabularray inner open
colspec={Q[]},
row{2}={si={table-format=-6.5,table-align-text-before=false,table-align-text-after=false,input-symbols={-,\*+()}},},
row{1}={guard},
} %% tabularray inner close
\toprule
pi \\ \midrule %% TinyTableHeader
314.15927 \\
3141.5927 \\
31415.927 \\
314159.27 \\
\bottomrule
\end{tblr}
\end{table}
TeX Error message: "Undefined color `si'. \end".
I'm not sure what the ideal solution would be, since the user requests a rather unusual table configuration, but I guess it should be a t least some kind of error/warning.
The text was updated successfully, but these errors were encountered:
vincentarelbundock
changed the title
Uncompilable LaTeX code when setting alignment for rowsalign="d" is not supported for rows: style_tt(i = 1, align = "d")Oct 16, 2024
The following code produces uncompilable LaTeX:
LaTeX:
TeX Error message: "Undefined color `si'. \end".
I'm not sure what the ideal solution would be, since the user requests a rather unusual table configuration, but I guess it should be a t least some kind of error/warning.
The text was updated successfully, but these errors were encountered: