Closed leoleoasd closed 2 years ago
Exporting tabularray
tables is expected to be supported before summer 2022. You can follow the progress on this discussion. The first step is to support importing tabularray
tables as it is important that every table exported by the editor can be edited after. You can already do so for most of the features. However, borders are not supported yet.
tabularray
is a modern, actively-maintained table package based on LaTeX3. It is a new package, and it isn't included in TeX Live 2021. It has a modern interface, supports all features like diabox / booktabs / tabu-like X columns / multirow / multicolumn, and there are no bugs and conflicts when using these features simultaneously.Here are some key feature examples extracted from their manual:
tabu column:
in-cell line wrapping and alignment:
easily multicell and multirow:
hlines and vlines:
And their new interfaces:
Current implementation using tabular or tabularx combined with multirow have trouble aligning items. For example, when I export the following table to latex, some cells aren't center-aligned.
When I switch to tabularray, all my alignment and spacing problems got fixed immediately.
For more info, see: https://ctan.org/pkg/tabularray