\documentclass[tikz,border=10pt]{standalone} \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}