I've been looking around on the web since yesterday to look for answers. But what I'm looking for are boxed cell tables with alternating white/gray backgrounds with a black header row in white text. Plus points if it is bordered and can cover the entire page. I've tried to do this in tabularray, but the color scheming is something I'm new to and if anyone could explain how to efficiently do this in LaTeX in general then you have my thanks. Some examples of stuff I've tried are the following:
\documentclass{article}
\usepackage{booktabs}
\usepackage[landscape,a4paper]{geometry}
\usepackage{colortbl}
\usepackage{xcolor}
\usepackage{xfrac}
\newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}
\begin{document}
\begin{table*}\centering
\ra{1.3}
\begin{tabular}{c|c|c|c}\toprule
Nucleus & \textit{I} & Natural Abundance / % & Larmor Frequency @ 7T \
\midrule
\rowcolor{black!20} \textsuperscript{1}H & \sfrac{1}{2} & 99.98 & 298.0 \
\textsuperscript{2}H & 1 & 0.02 & 45.7 \
\rowcolor{black!20} \textsuperscript{12}C & 0 & 98.90 & - \
\textsuperscript{13}C & \sfrac{1}{2} & 1.10 & 74.9 \
\rowcolor{black!20} \textsuperscript{14}N & 1 & 99.60 & 21.5 \
\textsuperscript{15}N & \sfrac{1}{2} & 0.40 & 30.2 \
\rowcolor{black!20} \textsuperscript{16}O & 0 & 99.96 & - \
\textsuperscript{17}O & \sfrac{1}{2} & 0.04 & 40.4 \
\bottomrule
\end{tabular}
\end{table*}
\end{document}
\documentclass{article}
\usepackage{CormorantGaramond}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\tikzset{
table/.style={
matrix of nodes,
row sep=-\pgflinewidth,
column sep=-\pgflinewidth,
nodes={
rectangle,
draw=black,
align=center
},
minimum height=1.5em,
text depth=0.5ex,
text height=2ex,
nodes in empty cells,
%%
every even row/.style={
nodes={fill=gray!20}
},
column 1/.style={
nodes={text width=2em,font=\bfseries}
},
row 1/.style={
nodes={
fill=black,
text=white,
font=\bfseries
}
}
}
}
\begin{tikzpicture}
\matrix (first) [table,text width=6em]
{
& Monday & Tuesday & Wednesday & Thursday & Friday\\
1 & A & B & C & D & E \\
2 & F & G & H & J & K \\
3 & A & B & C & D & E \\
4 & F & G & H & J & K \\
};
\end{tikzpicture}
\end{document}
Taken from:
https://tinkertailorsoldiersponge.com/blog/2014/07/07/fancy-thesis-tables-in-latex
and
Example of fancy table using TikZ package
respectively. The one closer in output to what I want is the second.


