texstudio-org/texstudio

Align in tblr environment from tabularray package

オープン

#2,310 opened on 2022/05/06

 (12 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (397 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (3,516 個のスター)
PR merge metrics
 (平均マージ 5h 26m) (30d で 19 merged PRs)

説明

I found very progressive and modern analogue of old tabular/tabularx packages - a tabularray package. It is possible to add a cwl for it? Also it is necessary to add alignment behaviour on TXS button "Align Colums" for tblr environment.

\documentclass[]{article}
\usepackage{tabularray}

\begin{document}

\begin{tblr}{|l|l|l|l|}
\hline
\SetCell[r=4]{h,1.5cm} Multirow Cell One & Alpha & \SetCell[r=4]{f,1.5cm} Multirow Cell Two & Alpha \\
                                         & Beta                             &                                                                 & Beta \\
                                         & Gamma                       &                                                                 & Gamma \\
                                         & Delta                           &                                                                 & Delta \\
\hline
\end{tblr}

\end{document}

I think it would be nice if the Wizard could also work with this package. Because it's written in LaTeX3, it's more flexible and more intuitive in terms of alignment, I think it will push old tabular packages out of use.

コントリビューターガイド