von bloodworks » Mi 22. Sep 2010, 17:35
Hallo
ist ne friemel Lösung geht sicher eleganter, tuts aber. Die \y Geschichte soll nur als Anregung dienen, das Dingens zu felxibilisieren. Würd ich empfehlen, dann kannst du die Zeichnung auch mal wieder verwenden.
\documentclass{scrbook}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usetikzlibrary{decorations,arrows}
\usetikzlibrary{decorations.pathmorphing}
\usepgflibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}
\def\y{0}
\draw[decorate,decoration={coil,aspect=0.9,segment length=2mm,amplitude=1mm}] (5,\y) -- (7,\y) ;
\draw[decorate,decoration={brace, mirror}] (5,-\y.4) -- (7,-\y.4) node at (6,-\y.5) [below]{dfkj} ;
\def\y{2}
\draw[decorate,decoration={coil,aspect=0.9,segment length=3mm,amplitude=.7mm}] (5,-\y) -- (8,-\y) ;
\draw[decorate,decoration={brace, mirror}] (5,-\y.4) -- (8,-\y.4) node at (6.5,-\y.5) [below]{dfkj} ;
\draw (5,.1) --(5,-.1);
\draw (5,-1.9) --(5,-2.1);
\draw (7,.05) -- (7,-.05);
\draw (8,-1.9) -- (8,-2.1);
\end{tikzpicture}
\end{document}
Hallo
ist ne friemel Lösung geht sicher eleganter, tuts aber. Die \y Geschichte soll nur als Anregung dienen, das Dingens zu felxibilisieren. Würd ich empfehlen, dann kannst du die Zeichnung auch mal wieder verwenden.
[code]
\documentclass{scrbook}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usetikzlibrary{decorations,arrows}
\usetikzlibrary{decorations.pathmorphing}
\usepgflibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}
\def\y{0}
\draw[decorate,decoration={coil,aspect=0.9,segment length=2mm,amplitude=1mm}] (5,\y) -- (7,\y) ;
\draw[decorate,decoration={brace, mirror}] (5,-\y.4) -- (7,-\y.4) node at (6,-\y.5) [below]{dfkj} ;
\def\y{2}
\draw[decorate,decoration={coil,aspect=0.9,segment length=3mm,amplitude=.7mm}] (5,-\y) -- (8,-\y) ;
\draw[decorate,decoration={brace, mirror}] (5,-\y.4) -- (8,-\y.4) node at (6.5,-\y.5) [below]{dfkj} ;
\draw (5,.1) --(5,-.1);
\draw (5,-1.9) --(5,-2.1);
\draw (7,.05) -- (7,-.05);
\draw (8,-1.9) -- (8,-2.1);
\end{tikzpicture}
\end{document}
[/code]