aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/punktgruppen/tikz/atoms-grid-still.tex
diff options
context:
space:
mode:
authorAyexor <9105454+Ayexor@users.noreply.github.com>2021-08-27 18:09:54 +0200
committerGitHub <noreply@github.com>2021-08-27 18:09:54 +0200
commit2b2c5daa139aec08d091b658ad6191d6e57024ef (patch)
tree2c8f3fc7017394746d8e4f92a358e2a11015e072 /buch/papers/punktgruppen/tikz/atoms-grid-still.tex
parentAnpassungen nach Mail (diff)
parentnew image: tetraeder (diff)
downloadSeminarMatrizen-2b2c5daa139aec08d091b658ad6191d6e57024ef.tar.gz
SeminarMatrizen-2b2c5daa139aec08d091b658ad6191d6e57024ef.zip
Merge branch 'master' into master
Diffstat (limited to 'buch/papers/punktgruppen/tikz/atoms-grid-still.tex')
-rw-r--r--buch/papers/punktgruppen/tikz/atoms-grid-still.tex33
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}