tabularray icon indicating copy to clipboard operation
tabularray copied to clipboard

remove some of the hlines/vlines between special rows/columns

Open cdacl opened this issue 3 years ago • 1 comments

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

cdacl avatar Aug 10 '21 13:08 cdacl

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} 

image

lvjr avatar Sep 24 '21 09:09 lvjr