lvjr / tabularray

Typeset tabulars and arrays with LaTeX3
https://ctan.org/pkg/tabularray
253 stars 22 forks source link

Suggestion - TikZ naming of cells and borders #29

Open projetmbc opened 3 years ago

projetmbc commented 3 years ago

nicematrix use of names of the cells to play with TikZ for (even if this fine-tunings is used in some rare situations).

This could be a feature proposed only when using \UseTblrLibrary{tikz}.

lvjr commented 3 years ago

Tabularray doesn't have this feature at this moment. Maybe in the future. Seems it need some hooks too (see also #27).

lvjr commented 1 year ago

In fact, nicematrix could create three nodes for each cell; the names of them are of the type i-j, i-j-medium and i-j-large. I am inclined to create only one node for each cell in tabularray.

Moreover, nicematrix creates a coordinate node i at each intersection of the ith hline and ith vline, hence coordinate i-|j is at the intersection of the ith hline and jth vline. (What if the number of rows is not equal to the number of columns? I haven't checked the code yet.)

First of all, we need to decide whether or not tabularray will adopt all the above interfaces of nicematrix.

lvjr commented 1 year ago

Also, nicematrix loads pgfcore but not tikz. Maybe tabularray could do the same and call it pgf library but not tikz library.