Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. documentclass{standalone}
  2. usepackage{tikz}
  3. usetikzlibrary{matrix}
  4.  
  5. begin{document}
  6. begin{tikzpicture}[
  7. table/.style={
  8. matrix of nodes,
  9. nodes in empty cells,
  10. nodes = {fill=gray, draw = black},
  11. }
  12. ]
  13. matrix (test) [table] {
  14. 1 & 2 & 3 \
  15. 4 & & 5 \
  16. };
  17. end{tikzpicture}
  18. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement