包nicematrix
及其環境{NiceTabular}
試圖解決包的問題colortbl
。
這是 的輸出{NiceTabular}
。
\documentclass{article}
\usepackage{xcolor}
\usepackage{nicematrix}
\begin{document}
\begin{NiceTabular}{|c|c|c@{}|}[colortbl-like]
\Hline
\rowcolor{gray!30}
text & text & text\\
\Hline
\end{NiceTabular}
\end{document}
你需要幾個編譯。