\begin{tikzpicture} \draw (0,0) -- (0,2) -- (1,3.25) -- (2,2) -- (2,0) -- (0,2) -- (2,2) -- (0,0) -- (2,0); \end{tikzpicture} \begin{tikzpicture}[thick,rounded corners=8pt] ... ======================================================================================= \begin{tikzpicture} \draw[step=.5cm,gray,very thin] (-1.4,-1.4) grid (1.4,1.4); %\draw (-1.5,0) -- (1.5,0); %\draw (0,-1.5) -- (0,1.5); %\draw (0,0) circle (1cm); \end{tikzpicture} \clip[draw] (0.5,0.5) circle (.6cm); ... \clip[draw] (-0.75,-0.75) rectangle (1.25,1.25); ... ======================================================================================= \tikzstyle{kreis}=[circle,draw,thick] \tikzstyle{rechteck}=[rectangle,draw,thick] \begin{tikzpicture} \node[kreis] (oben) {\tiny O}; % \node[kreis] (mitte) [below of=oben] {\tiny M}; % \node[rechteck] (rechts) [right of=mitte] {\tiny R}; % \node[rechteck] (links) [left of=mitte] {\tiny L} % edge [->,bend left=45] (oben) % edge [<-] (oben); \end{tikzpicture} ======================================================================================= \begin{section} x\tikz \node {};\\ Hier kommt ein roter Punkt \tikz[remember picture] \node[circle,fill=red] (n1) {}; mitten im Text Und ein blaues Rechteck \tikz[remember picture] \node[fill=blue] (n2) {}; hier %Jetzt kommt ein Pfeil %\begin{tikzpicture}[remember picture,overlay] % \draw[->,very thick] (n1) -- (n2); %\end{tikzpicture} \end{section} ======================================================================================= \usetikzlibrary{shapes} \tikzstyle{mybox} = [draw=red, fill=gray!20, very thick, rectangle, rounded corners, inner sep=5pt, inner ysep=20pt] \tikzstyle{fancytitle} =[fill=red, text=white, ellipse] \begin{tikzpicture} \node [mybox] (box) { \begin{minipage}[t!]{4cm} Mehrzeiliger Beispieltext $e=mc^2$ \end{minipage} }; \node[fancytitle] at (box.north) {Rahmen}; \end{tikzpicture} ======================================================================================= \begin{tikzpicture}[domain=0:6.28,samples=200] \draw plot[id=welle] function{sin(x)+sin(8*x)/5}; \end{tikzpicture} %pdflatex --shell-escape input.tex