Context
I have a dark coloured table header and white vertical lines in that header. I want to set these options as a default for the tblr environment. From the manual, page 32 I read that I can do so using the \SetTblrInner command. But when I do so, the vertical lines defined in the colspec don't align with the vertical lines coloured by vline.
MWE
This is my starting point:
\documentclass{article} \usepackage{xcolor} \usepackage{tabularray} \begin{document} \begin{table}[htp] \begin{tblr}{ colspec = {|l|l|l|}, row{1} = {bg=blue, fg=white, font=\bfseries}, hline{1,2,Z} = {}, vline{2-Y} = {1}{white}, } A & B & C\\ 1 & 2 & 3\\ 10 & 20 & 30\\ 100 & 200 & 300\\ \end{tblr} \end{table} \end{document} Now I move all options except the colspec (as that changes from table to table) into the \SetTblrInner command:
\documentclass{article} \usepackage{xcolor} \usepackage{tabularray} \SetTblrInner{ row{1} = {bg=blue, fg=white, font=\bfseries}, hline{1,2,Z} = {}, vline{2-Y} = {1}{white} } \begin{document} \begin{table}[htp] \begin{tblr}{ colspec = {|l|l|l|} } A & B & C\\ 1 & 2 & 3\\ 10 & 20 & 30\\ 100 & 200 & 300\\ \end{tblr} \end{table} \end{document} Changing the vline color and zooming in, it's visible that the thick white part is not actually the line, but a blank space between the vline line and the | line:
Question
How can I set default tblr options while also using colspec in the individual tables?
What I've tried
I have removed the intra-column pipe | from the colspec
colspec = {|lll|} and set the vertical lines completely in the \SetTblrInner part
\SetTblrInner{ ... vline{2-Y} = {2-Z}{black} } That removes the issue, but reduces flexibility.




