From 3db817e0a6575dea79c01906afad5460ef60006a Mon Sep 17 00:00:00 2001
From: Nao Pross <np@0hm.ch>
Date: Mon, 5 Jul 2021 13:42:45 +0200
Subject: Externalize tikzpicture in symmetry section

---
 buch/papers/punktgruppen/tikz/symmetric-shapes.tex | 59 ++++++++++++++++++++++
 1 file changed, 59 insertions(+)
 create mode 100644 buch/papers/punktgruppen/tikz/symmetric-shapes.tex

(limited to 'buch/papers/punktgruppen/tikz/symmetric-shapes.tex')

diff --git a/buch/papers/punktgruppen/tikz/symmetric-shapes.tex b/buch/papers/punktgruppen/tikz/symmetric-shapes.tex
new file mode 100644
index 0000000..b2c051f
--- /dev/null
+++ b/buch/papers/punktgruppen/tikz/symmetric-shapes.tex
@@ -0,0 +1,59 @@
+\documentclass[tikz]{standalone}
+\usepackage{amsmath}
+\usepackage{times}
+\usepackage{txfonts}
+
+\usetikzlibrary{arrows}
+\usetikzlibrary{shapes.geometric}
+\usetikzlibrary{intersections}
+\usetikzlibrary{math}
+\usetikzlibrary{positioning}
+\usetikzlibrary{arrows.meta}
+\usetikzlibrary{shapes.misc}
+\usetikzlibrary{calc}
+
+\begin{document}
+	\begin{tikzpicture}[
+			node distance = 2cm,
+			shapetheme/.style = {
+				very thick, draw = black, fill = magenta!20!white,
+				minimum size = 2cm,
+			},
+			line/.style = {thick, draw = darkgray},
+			axis/.style = {line, dashed},
+			dot/.style = {
+				circle, draw = darkgray, fill = darkgray,
+				minimum size = 1mm, inner sep = 0, outer sep = 0,
+			},
+		]
+
+		\node[
+			shapetheme, rectangle
+		] (R) {};
+		\node[dot] at (R) {};
+		\draw[axis] (R) ++(-1.5, 0) to ++(3, 0) node[right] {\(\sigma\)};
+
+		\node[
+			shapetheme,
+			regular polygon,
+			regular polygon sides = 5,
+			right = of R,
+		] (Ps) {};
+		\node[dot] (P) at (Ps) {};
+		\draw[line, dotted] (P) to ++(18:1.5);
+		\draw[line, dotted] (P) to ++(90:1.5);
+		\draw[line, ->] (P) ++(18:1.2) 
+			arc (18:90:1.2) node[midway, above right] {\(r, 72^\circ\)};
+
+		\node[
+			shapetheme,
+			circle, right = of P
+		] (Cs) {};
+		\node[dot] (C) at (Cs) {};
+		\draw[line, dotted] (C) to ++(1.5,0);
+		\draw[line, dotted] (C) to ++(60:1.5);
+		\draw[line, ->] (C) ++(1.2,0)
+			arc (0:60:1.2) node[midway, above right] {\(r, \alpha\)};
+
+	\end{tikzpicture}
+\end{document}
-- 
cgit v1.2.1

