great-tables
great-tables copied to clipboard
[latex] Utilize the tabularray package
Pandas/Polars dataframes already support basic latex output, so the current latex support doesn't offer much over those existing solutions for typesetting. I wanted to suggest supporting the tabularray package in place of tabular. Since great-tables is generally used as an advanced presentation layer on top of datasets / dataframes, the tabularray would provide much more robust formatting functionality to match (and even surpass) existing HTML output. It should make filling the currently listed limitations for latex output more trivial to implement, especially with tabularray's "siunix" integration.
https://ctan.org/pkg/tabularray
Would add in that it makes sense to continue develop the "classical" tables in latex, as the tables constructed with tabularray are very slow to compile (which is infuriating :=)