Advertisement
Guest User

Untitled

a guest
Aug 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. \tikzset{
  2. table/.style={
  3. matrix of nodes,
  4. row sep=-\pgflinewidth,
  5. column sep=-\pgflinewidth,
  6. nodes={
  7. rectangle,
  8. draw=black,
  9. align=center
  10. },
  11. minimum height=4em,
  12. text depth=0.5ex,
  13. text height=1ex,
  14. nodes in empty cells,
  15. anchor=center,
  16. %%
  17. every even row/.style={
  18. nodes={fill=gray!20}
  19. },
  20. column 1/.style={
  21. nodes={text width=2em,font=\bfseries}
  22. },
  23. column 2/.style={
  24. nodes={minimum width=2.5em, text width=2.5em}
  25. },
  26. column 3/.style={
  27. nodes={minimum width=2.5em, text width=2.5em}
  28. },
  29. row 1/.style={
  30. nodes={
  31. fill=blue!20,
  32. text= black,
  33. font=\bfseries,
  34. minimum height=5em
  35. }
  36. }
  37. }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement