Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

02 Jul '18, 21:00

cis's gravatar image

cis
9.5k95460491

Im von @saputello [verlinkten Beispiel][1] geht es durch Nachzeichnen der Pfeile mit der `InnerWhite`-Option. Ganzes Beispiel: [![alt text][2]][2] \documentclass[a4paper, landscape]{scrartcl} \usepackage{tikz} \usetikzlibrary{arrows.meta} %\usetikzlibrary{shapes.arrows} \pagestyle{empty} \begin{document} \def\L{8 cm} \def\m{2mm} \begin{tikzpicture}[ overlay, transform shape, remember picture, shift={(current page.center)}, % every node/.style={ draw, circle, fill=black, font=\sffamily\bfseries\Huge, text=white, outer sep=2*\m, }, Pfeil/.style={ line width=0.5\m, double distance=1.5*\m, arrows = {-Latex[length=0pt 3 0, fill=white]}, line cap=rect, %shorten >=5mm, }, InnerWhite/.style={white, line width=0.15*\m, shorten >= 11.3/2*\m, double distance=1.2*\m, } ] \coordinate[label=A] (A) at (-\L,-\L); \coordinate[label=B] (B) at (\L,-\L); \coordinate[label=C] (C) at (\L,\L); \coordinate[label=D] (D) at (-\L,\L); \coordinate[label=M] (M) at (-\L,0); \coordinate[label=N] (N) at (\L,0); % Rechteck %\draw[] (A) rectangle (C); % 12 \draw [Pfeil] (C) node[above right]{1} -- (A) ; \draw [InnerWhite] (C) -- (A) ; \draw [Pfeil,] ([xshift=-6*\m]A) node[below left]{2} -- ([xshift=-6*\m]C); \draw [InnerWhite] ([xshift=-6*\m]A) -- ([xshift=-6*\m]C); % 3 4 \draw [Pfeil] (B) node[below right]{3} -- (D) ; \draw [InnerWhite] (B) -- (D) ; \draw [Pfeil,] ([xshift=-6*\m]D) node[above left]{4} -- ([xshift=-6*\m]B); \draw [InnerWhite] ([xshift=-6*\m]D) -- ([xshift=-6*\m]B); % 6 7 \draw [Pfeil] ([yshift=-3*\m]M) node[left]{6} -- ([yshift=-3*\m]N); \draw [InnerWhite] ([yshift=-3*\m]M) -- ([yshift=-3*\m]N); \draw [Pfeil] ([yshift=3*\m]N) node[right]{7} -- ([yshift=3*\m]M); \draw [InnerWhite] ([yshift=3*\m]N) -- ([yshift=3*\m]M); % 5 \node[xshift=-3*\m]{5}; \end{tikzpicture} \end{document} [1]: http://www.texample.net/tikz/examples/double-arrows/ [2]: https://texwelt.de/wissen/upfiles/55555555_172.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

02 Jul '18, 20:48

cis's gravatar image

cis
9.5k95460491

Im von @saputello [verlinkten Beispiel][1] geht durch Nachzeichnen der Pfeile mit der `InnerWhite`-Option. Ganzes Beispiel: [![alt text][2]][2] \documentclass[a4paper, landscape]{scrartcl} \usepackage{tikz} \usetikzlibrary{arrows.meta} %\usetikzlibrary{shapes.arrows} \pagestyle{empty} \begin{document} \def\L{8 cm} \def\m{2mm} \begin{tikzpicture}[ overlay, transform shape, remember picture, shift={(current page.center)}, % every node/.style={ draw, circle, fill=black, font=\sffamily\bfseries\Huge, text=white, outer sep=2*\m, }, Pfeil/.style={ line width=0.5\m, double distance=1.5*\m, arrows = {-Latex[length=0pt 3 0, fill=white]}, line cap=rect, %shorten >=5mm, }, InnerWhite/.style={white, line width=0.15*\m, shorten >= 11.3/2*\m, double distance=1.2*\m, } ] \coordinate[label=A] (A) at (-\L,-\L); \coordinate[label=B] (B) at (\L,-\L); \coordinate[label=C] (C) at (\L,\L); \coordinate[label=D] (D) at (-\L,\L); \coordinate[label=M] (M) at (-\L,0); \coordinate[label=N] (N) at (\L,0); % Rechteck %\draw[] (A) rectangle (C); % 12 \draw [Pfeil] (C) node[above right]{1} -- (A) ; \draw [InnerWhite] (C) -- (A) ; \draw [Pfeil,] ([xshift=-6*\m]A) node[below left]{2} -- ([xshift=-6*\m]C); \draw [InnerWhite] ([xshift=-6*\m]A) -- ([xshift=-6*\m]C); % 3 4 \draw [Pfeil] (B) node[below right]{3} -- (D) ; \draw [InnerWhite] (B) -- (D) ; \draw [Pfeil,] ([xshift=-6*\m]D) node[above left]{4} -- ([xshift=-6*\m]B); \draw [InnerWhite] ([xshift=-6*\m]D) -- ([xshift=-6*\m]B); % 6 7 \draw [Pfeil] ([yshift=-3*\m]M) node[left]{6} -- ([yshift=-3*\m]N); \draw [InnerWhite] ([yshift=-3*\m]M) -- ([yshift=-3*\m]N); \draw [Pfeil] ([yshift=3*\m]N) node[right]{7} -- ([yshift=3*\m]M); \draw [InnerWhite] ([yshift=3*\m]N) -- ([yshift=3*\m]M); % 5 \node[xshift=-3*\m]{5}; \end{tikzpicture} \end{document} [1]: http://www.texample.net/tikz/examples/double-arrows/ [2]: https://texwelt.de/wissen/upfiles/55555555_172.png

Willkommen, erstes Mal hier? Schau mal unter FAQ!

×