答え1
答え2
パッケージ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}
複数のコンパイルが必要です。