diff options
author | tim30b <tim.toenz@ost.ch> | 2021-07-18 23:12:35 +0200 |
---|---|---|
committer | tim30b <tim.toenz@ost.ch> | 2021-07-18 23:12:35 +0200 |
commit | 720ea579e03e3a37eb5fa15c2d4e2d5f13013cdb (patch) | |
tree | 68e75c8f0eddd224874a4aceb29bd49544c6dc22 /buch/papers/punktgruppen/tikz/atoms-grid-still.tex | |
parent | apply müller correction in punktgruppen und Intro (diff) | |
parent | Recompile figures (diff) | |
download | SeminarMatrizen-720ea579e03e3a37eb5fa15c2d4e2d5f13013cdb.tar.gz SeminarMatrizen-720ea579e03e3a37eb5fa15c2d4e2d5f13013cdb.zip |
Merge remote-tracking branch 'fork/master'
Diffstat (limited to '')
-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} |