Advertisement
Guest User

Untitled

a guest
Jun 10th, 2020
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. \documentclass{article}
  2. \usepackage{tikz}
  3. \usetikzlibrary{fit,positioning, shapes,snakes}
  4. \usepackage{amsmath,amssymb}
  5.  
  6.  
  7. \tikzstyle{vennbox} = [draw,ultra thick,align=left,draw=black, very thick, rounded corners=10, inner sep=10pt, inner ysep=20pt]
  8. \tikzstyle{venntitle} =[fill=black, text=white]
  9.  
  10. \begin{document}
  11.  
  12. \begin{tikzpicture}[node distance=20pt]
  13. \node [vennbox] (natural){%
  14. $0$ \ \ $1$ \ \ $12$ \ \ $350$ \ \ $48$ \ \ $5$ \ \ $16$
  15. };
  16.  
  17.  
  18.  
  19. \node[left=of natural, inner sep=0pt] (integersExN) {
  20. $-1$ \ \ $-5$ \ \ $-10$ \ \ $-39$
  21.  
  22.  
  23. };
  24.  
  25. \node [vennbox, fit=(integersExN) (natural)] (integers) {};
  26.  
  27. \node[below=of integers, inner sep=0pt] (rationalExZ) {
  28. $25{,}3401401401\dots$ \ \ $-0{,}101232323\dots$ \ \ $48{,}259$ \ \
  29. };
  30.  
  31. \node[right=of integers, inner sep=0pt] (rationalExZ2) {
  32. $\dfrac{2}{5}$
  33. };
  34.  
  35. \node[below right=of integers, inner sep=0pt] (rationalExZ3) {
  36. $-\dfrac{7}{3}$
  37. };
  38.  
  39. \node [vennbox, fit=(rationalExZ) (integers) (rationalExZ2) (rationalExZ3)] (rational) {};
  40.  
  41. \node[above=of rational, inner sep=0pt] (irrational) {
  42. $6{,}1010010001\dots$ \ \ $-0{,}1234567\dots$
  43. };
  44.  
  45. \node[above right=of rational, inner sep=0pt] (irrational2) {
  46. $\sqrt{2}$
  47. };
  48.  
  49. \node[right=of rational, inner sep=0pt] (irrational3) {
  50. $\pi$
  51. };
  52.  
  53. \node [vennbox, fit=(irrational) (rational) (irrational3) (irrational2)] (real) {};
  54.  
  55. \node[venntitle, right=10pt] at (integers.north west) {Integer};
  56. \node[venntitle, above=10pt, rounded corners] at (integers.east) {$\mathbb{Z}$};
  57. \node[venntitle, right=10pt] at (natural.north west) {natural};
  58. \node[venntitle, rounded corners] at (natural.east) {$\mathbb{N}$};
  59.  
  60. \node[venntitle, right=10pt] at (rational.north west) {rational};
  61. \node[venntitle, rounded corners] at (rational.east) {$\mathbb{Q}$};
  62. \node[venntitle, right=10pt] at (real.north west) {real};
  63. \node[venntitle, rounded corners] at (real.east) {$\mathbb{R}$};
  64. \end{tikzpicture}
  65.  
  66.  
  67. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement