diff --git a/CITATION.html b/CITATION.html index 66990f87..327b7c5b 100644 --- a/CITATION.html +++ b/CITATION.html @@ -232,7 +232,7 @@
New:
Typst
tables using tablex
:
+Typst
tables are now supported using the tablex
extension:
tt(x, notes = list("*" = list(i = 0:1, j = 2, text = "Hello world)))
notes
agument in tt()
now works wth Markdown and Word, but must be a single string.10 001 | -9 999 | +10 001 | |
10 001 | -10 000 | +10 001 | |
10 002 | -10 000 | +10 001 | +9 999 |
Warning: The style_tt()
can normally be used to style the group headers, as expected, but that feature is not available for Markdown and Word tables.
An object of class tt
representing the table.
Foo | @@ -453,12 +458,12 @@
-Width of the cell or column. Can be NULL for default width.
+Width of column in em units. Can be NULL for default width.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mpg | -cyl* | -disp | -hp | -drat | -
---|---|---|---|---|
* Hello World! | ||||
21.0 | -6* | -160 | -110 | -3.90 | -
21.0 | -6 | -160 | -110 | -3.90 | -
22.8 | -4 | -108 | -93 | -3.85 | -
21.4 | -6 | -258 | -110 | -3.08 | -
<- list(i = 0:1, j = 2, text = "Hello World!")
+ fn <- tt(x, notes = list("*" = fn))
+ tab print(tab, "latex")
+\begin{table}
+\centering
+\begin{talltblr}[ %% tabularray outer open
+entry=none,label=none,
+note{*}={Hello World!},
+] %% tabularray outer close
+{ %% tabularray inner open
+colspec={Q[]Q[]Q[]Q[]Q[]},
+} %% tabularray inner close
+\toprule
+mpg & cyl\textsuperscript{*} & disp & hp & drat \\ \midrule %% TinyTableHeader
+21.0 & 6\textsuperscript{*} & 160 & 110 & 3.90 \\
+21.0 & 6 & 160 & 110 & 3.90 \\
+22.8 & 4 & 108 & 93 & 3.85 \\
+21.4 & 6 & 258 & 110 & 3.08 \\
+\bottomrule
+\end{talltblr}
+\end{table}
tt()
tt()
143002 | 1.43 | -1970-06-25 | +1972-01-31 | True | |||||||||||||||||||||||||
201399 | 201.40 | -1970-03-12 | +1971-01-01 | True | |||||||||||||||||||||||||
100188 | 0.13 | -1971-03-03 | +1970-08-24 | False |
143 002,21 | 1.4 | -June 25 1970 | +January 31 1972 | True | ||||||||||
201 399,18 | 201.4 | -March 12 1970 | +January 01 1971 | True | ||||||||||
100 188,39 | 0.1 | -March 03 1971 | +August 24 1970 | False |