diff options
author | JODBaer <JODBaer@github.com> | 2021-07-26 14:15:57 +0200 |
---|---|---|
committer | JODBaer <JODBaer@github.com> | 2021-07-26 14:15:57 +0200 |
commit | 9356db2fc0d95e60043c6ce62fa906964869cae2 (patch) | |
tree | f3cf93ea263d777c2396ee5e21369ec99868d53b /buch/papers/punktgruppen/tikz/atoms-grid-still.tex | |
parent | update (diff) | |
parent | Merge pull request #45 from NaoPross/master (diff) | |
download | SeminarMatrizen-9356db2fc0d95e60043c6ce62fa906964869cae2.tar.gz SeminarMatrizen-9356db2fc0d95e60043c6ce62fa906964869cae2.zip |
Merge commit '56443dfc2486e08b0ed3bf8ecc61c9ad8a83e213' into Baer
Diffstat (limited to 'buch/papers/punktgruppen/tikz/atoms-grid-still.tex')
-rw-r--r-- | buch/papers/punktgruppen/tikz/atoms-grid-still.tex | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/buch/papers/punktgruppen/tikz/atoms-grid-still.tex b/buch/papers/punktgruppen/tikz/atoms-grid-still.tex new file mode 100644 index 0000000..4e43856 --- /dev/null +++ b/buch/papers/punktgruppen/tikz/atoms-grid-still.tex @@ -0,0 +1,33 @@ +\documentclass[tikz]{standalone} +\usepackage{amsmath} +\usepackage{times} +\usepackage{txfonts} + +\usetikzlibrary{arrows} +\usetikzlibrary{intersections} +\usetikzlibrary{math} +\usetikzlibrary{positioning} +\usetikzlibrary{arrows.meta} +\usetikzlibrary{shapes.misc} +\usetikzlibrary{calc} + +\begin{document} + \begin{tikzpicture}[ + >=latex, + node distance = 2mm, + charge/.style = { + circle, draw = black, thick, + minimum size = 5mm + }, + positive/.style = { fill = red!50 }, + negative/.style = { fill = blue!50 }, + ] + + \matrix[nodes = { charge }, row sep = 8mm, column sep = 8mm] { + \node[positive] {}; & \node[negative] (N) {}; & \node [positive] {}; \\ + \node[negative] (W) {}; & \node[positive] {}; & \node [negative] (E) {}; \\ + \node[positive] {}; & \node[negative] (S) {}; & \node [positive] {}; \\ + }; + \draw[gray, dashed] (W) to (N) to (E) to (S) to (W); + \end{tikzpicture} +\end{document} |