tabularray
tabularray copied to clipboard
remove some of the hlines/vlines between special rows/columns
When I described the hlines
/ vlines
in mandatory arguments, I can't remove the hline/vline between special rows/columns.
In this situation, I only can use the hline{i}
/vline{j}
to draw lines between rows I wanted, or set the width of the special hline/vline as 0pt
.
Originally posted by @cdacl in https://github.com/lvjr/tabularray/issues/57#issuecomment-895681562
As a workaround, you may set the line width of some hline to 0pt
, it is the same as removing the hline.
\documentclass{article}
\usepackage{xcolor}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{
cells = {olive9},
hlines = {1pt},
hline{2} = {0pt},
}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{tblr}
\end{document}