LaTex tblr sizing the table header row #487
Replies: 2 comments 2 replies
-
Extra height in row 1 is caused by \documentclass[landscape]{article}
\usepackage{tabularray}
\usepackage{xcolor}
\begin{document}
\begin{longtblr}[
caption = {Severity Categories}
]{
%repeat the first row (the header) for each time the table breaks a page
rowhead = 1,
colspec = { |Q[c,m,wd=1.0in]|Q[l,m,wd=6.0in]| },
rows={ rowsep=9pt },
% set "row{1}" after "colspec" to overwrite "halign"
row{1}={ gray!10, halign=c, font=\bfseries },
}
\hline
Severity & Description \\
\hline
a & b
\end{longtblr}
\end{document} BTW please make your example complete and compilable next time. |
Beta Was this translation helpful? Give feedback.
-
I think I see what the problem is. The |
Beta Was this translation helpful? Give feedback.
-
I'm using the following LaTeX source to create my table. The table looks fine except for the table header row. The height of the table header row is larger than it has to be. Is there a way I can size that? I don't seem to be putting any sizing information for the table header row.
Thanks for any/all help,
Russ
Beta Was this translation helpful? Give feedback.
All reactions