Warning, /graphics/tikzkit/texamples/nodes.tex is written in an unsupported language. File is not indexed.

0001 \documentclass[paper=a5,fontsize=12pt]{scrbook}
0002 \usepackage[utf8]{inputenc}
0003 \usepackage[T1]{fontenc}
0004 \usepackage[pdftex,active,tightpage]{preview}
0005 \usepackage{tikz}
0006 \usetikzlibrary{shapes}
0007 \usepackage{amsmath}
0008 \usepackage{amssymb}
0009 \usepackage{amsfonts}
0010 %\PreviewEnvironment{tikzpicture}
0011 
0012 \begin{document}
0013 \thispagestyle{empty}
0014 \begin{preview}
0015 \begin{tikzpicture}[minimum size=0cm, inner sep=2mm]
0016   \draw[gray, step=1cm] (-3, -3) grid (3, 3);
0017   \node[very thin,fill=yellow, draw, circle] (a1) at (-3, 3) {$\int f(x) dx$};
0018   \node[thin,fill=yellow, draw, circle] (b1) at ( 3, 3) {$\Leftrightarrow$};
0019   \node[fill=yellow, draw, rectangle] (a2) at (-3, 1) {$a$};
0020   \node[thick,fill=yellow, draw, circle] (b2) at ( 3, 1) {a};
0021   \node[very thick,fill=yellow, draw, rectangle] (a3) at (-3,-1) {$\iiint \max$};
0022   \node[ultra thick,fill=yellow, draw, rectangle] (b3) at ( 3,-1) {A long text\\\\which is wrapped};
0023   \node[very thick,fill=yellow, draw, rectangle, rotate=45] (a4) at (-3,-3) {c};
0024   \node[fill=yellow, draw, minimum width=2cm,ellipse, inner sep=2mm] (b4) at ( 3,-3) {8};
0025 
0026   \draw[very thick] (a1) to (b1);
0027   \draw[very thick] (a2) to (b2);
0028   \draw[very thick] (a3) to (b3);
0029   \draw[very thick, bend left=30,<->] (a4) to (b4);
0030 \end{tikzpicture}
0031 \end{preview}
0032 \end{document}