Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. documentclass[preview,border=10pt]{standalone}
  2. usepackage{tikz}
  3.  
  4. newcommand{cornerur}{%
  5. begin{tikzpicture}%
  6. draw[line width=.4mm] (0,0) -- (0,2ex);%
  7. draw[line width=.4mm] (0,0) -- (2ex,0);%
  8. end{tikzpicture}%
  9. }
  10.  
  11.  
  12. newcommand{cornerul}{%
  13. begin{tikzpicture}%
  14. draw[line width=.4mm] (2ex,2ex) -- (2ex,0);%
  15. draw[line width=.4mm] (0,0) -- (2ex,0);%
  16. end{tikzpicture}%
  17. }
  18.  
  19. newcommand{cornerdr}{%
  20. begin{tikzpicture}%
  21. draw[line width=.4mm] (0,0) -- (0,2ex);%
  22. draw[line width=.4mm] (2ex,2ex) -- (0,2ex);%
  23. end{tikzpicture}%
  24. }
  25.  
  26. newcommand{cornerdl}{%
  27. begin{tikzpicture}%
  28. draw[line width=.4mm] (0,2ex) -- (2ex,2ex);%
  29. draw[line width=.4mm] (2ex,0) -- (2ex,2ex);%
  30. end{tikzpicture}%
  31. }
  32.  
  33. newcommand{horiz}{%
  34. begin{tikzpicture}%
  35. node at (0,0) {}; {}%
  36. draw[line width=.4mm] (0,.5ex) -- (2ex,.5ex);%
  37. end{tikzpicture}%
  38. }
  39.  
  40. newcommand{vertic}{%
  41. begin{tikzpicture}%
  42. draw[line width=.4mm] (.5ex,0) -- (.5ex,2ex);%
  43. end{tikzpicture}%
  44. }
  45.  
  46. begin{document}
  47. [
  48. renewcommand{arraystretch}{1.5}
  49. begin{tabular}{ | c | c | }
  50. hline
  51. $cornerdr$ & $ horiz $\
  52. hline
  53. $vertic$ & $cornerdr$ \
  54. hline
  55. end{tabular}
  56. qquad
  57. begin{tabular}{ | c | }
  58. hline
  59. $cornerdr$ \
  60. hline
  61. $ cornerul $\
  62. hline
  63. end{tabular}
  64. ]
  65. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement