Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{standalone}
- usepackage{tikz}
- usetikzlibrary{matrix}
- begin{document}
- begin{tikzpicture}[
- table/.style={
- matrix of nodes,
- nodes in empty cells,
- nodes = {fill=gray, draw = black},
- }
- ]
- matrix (test) [table] {
- 1 & 2 & 3 \
- 4 & & 5 \
- };
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement