JDMCreator / LaTeXTableEditor

readme
MIT License
141 stars 14 forks source link

[Feature Request] Support for tabularray package #56

Closed leoleoasd closed 2 years ago

leoleoasd commented 2 years ago

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: image

in-cell line wrapping and alignment:

image

easily multicell and multirow: image

hlines and vlines: image

And their new interfaces:

image

image


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.

image

When I switch to tabularray, all my alignment and spacing problems got fixed immediately.

For more info, see: https://ctan.org/pkg/tabularray

JDMCreator commented 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.