2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 14:28:05 +02:00
This commit is contained in:
Ivan Tham 2024-11-25 22:34:34 +00:00 committed by GitHub
commit ad52c3b07f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@
\setlength\PreviewBorder{2mm} \setlength\PreviewBorder{2mm}
\usepackage{tikz} \usepackage{tikz}
\usetikzlibrary{calc,shapes.multipart,chains,arrows} \usetikzlibrary{shapes.multipart,chains,arrows}
\tikzset{ \tikzset{
squarecross/.style={ squarecross/.style={
@ -36,9 +36,9 @@
\node[list,on chain] (B) {99}; \node[list,on chain] (B) {99};
\node[list,on chain] (C) {37}; \node[list,on chain] (C) {37};
\node[squarecross] (D) [right=of C] {}; \node[squarecross] (D) [right=of C] {};
\draw[*->] let \p1 = (A.two), \p2 = (A.center) in (\x1,\y2) -- (B); \draw[*->] (A.two |- A.center) -- (B);
\draw[*->] let \p1 = (B.two), \p2 = (B.center) in (\x1,\y2) -- (C); \draw[*->] (B.two |- B.center) -- (C);
\draw[*->] let \p1 = (C.two), \p2 = (C.center) in (\x1,\y2) -- (D); \draw[*->] (C.two |- C.center) -- (D);
\end{tikzpicture} \end{tikzpicture}
\end{preview} \end{preview}
\end{document} \end{document}