Create a new tab_tibble object
Arguments
- x
The object to convert. A data.frame (or tibble) with columns
table(list of tables; seenew_tab_list()),caption(character), and optionallylabel(character, unique, a valid Quarto label without thetbl-prefix – seederive_label()) andtopic_cols(list column, one character vector per table, naming columns – in outer-to-inner order – that the"typst"backend groups into repeating topic headers instead of repeating their values on every row; seerender_typst_table()). Whenlabelis absent orNA/empty for a row, a stable label is derived from that row's caption, so re-rendering the same caption always yields the same label. Eachtopic_cols[[i]]must name columns present intable[[i]], andtable[[i]]must already be sorted by them.