Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{article}
- \usepackage{tikz}
- \usetikzlibrary{fit,positioning, shapes,snakes}
- \usepackage{amsmath,amssymb}
- \tikzstyle{vennbox} = [draw,ultra thick,align=left,draw=black, very thick, rounded corners=10, inner sep=10pt, inner ysep=20pt]
- \tikzstyle{venntitle} =[fill=black, text=white]
- \begin{document}
- \begin{tikzpicture}[node distance=20pt]
- \node [vennbox] (natural){%
- $0$ \ \ $1$ \ \ $12$ \ \ $350$ \ \ $48$ \ \ $5$ \ \ $16$
- };
- \node[left=of natural, inner sep=0pt] (integersExN) {
- $-1$ \ \ $-5$ \ \ $-10$ \ \ $-39$
- };
- \node [vennbox, fit=(integersExN) (natural)] (integers) {};
- \node[below=of integers, inner sep=0pt] (rationalExZ) {
- $25{,}3401401401\dots$ \ \ $-0{,}101232323\dots$ \ \ $48{,}259$ \ \
- };
- \node[right=of integers, inner sep=0pt] (rationalExZ2) {
- $\dfrac{2}{5}$
- };
- \node[below right=of integers, inner sep=0pt] (rationalExZ3) {
- $-\dfrac{7}{3}$
- };
- \node [vennbox, fit=(rationalExZ) (integers) (rationalExZ2) (rationalExZ3)] (rational) {};
- \node[above=of rational, inner sep=0pt] (irrational) {
- $6{,}1010010001\dots$ \ \ $-0{,}1234567\dots$
- };
- \node[above right=of rational, inner sep=0pt] (irrational2) {
- $\sqrt{2}$
- };
- \node[right=of rational, inner sep=0pt] (irrational3) {
- $\pi$
- };
- \node [vennbox, fit=(irrational) (rational) (irrational3) (irrational2)] (real) {};
- \node[venntitle, right=10pt] at (integers.north west) {Integer};
- \node[venntitle, above=10pt, rounded corners] at (integers.east) {$\mathbb{Z}$};
- \node[venntitle, right=10pt] at (natural.north west) {natural};
- \node[venntitle, rounded corners] at (natural.east) {$\mathbb{N}$};
- \node[venntitle, right=10pt] at (rational.north west) {rational};
- \node[venntitle, rounded corners] at (rational.east) {$\mathbb{Q}$};
- \node[venntitle, right=10pt] at (real.north west) {real};
- \node[venntitle, rounded corners] at (real.east) {$\mathbb{R}$};
- \end{tikzpicture}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement