texstudio-org/texstudio

Align in tblr environment from tabularray package

開放

#2,310 建立於 2022年5月6日

 (12 則留言) (0 個反應) (0 位負責人)C++ (397 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (3,516 顆星)
PR 合併指標
 (平均合併 5小時 26分鐘) (30 天內合併 19 個 PR)

描述

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.

貢獻者指南