From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 .../NamedGraphs/examples/latex/tkzNamed-19-1-0.tex | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 macros/latex/contrib/tkz/tkz-berge/NamedGraphs/examples/latex/tkzNamed-19-1-0.tex

(limited to 'macros/latex/contrib/tkz/tkz-berge/NamedGraphs/examples/latex/tkzNamed-19-1-0.tex')

diff --git a/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/examples/latex/tkzNamed-19-1-0.tex b/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/examples/latex/tkzNamed-19-1-0.tex
new file mode 100644
index 0000000000..7158b71caf
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/examples/latex/tkzNamed-19-1-0.tex
@@ -0,0 +1,26 @@
+%
+% tkz-namedgraphs (27/05/2011)
+%
+% Coding (utf8) Creator (TeX) Producer (pdfeTeX) 
+% Author Alain Matthes
+\input{tkzpreamblenamed.ltx}
+
+\begin{document}
+
+\begin{tikzpicture}
+  \grCycle[RA=8]{8}
+  \pgfmathparse{8*(1-4*sin(22.5)*sin(22.5))}
+  \let\tkzbradius\pgfmathresult
+  \grCirculant[prefix=b,RA=\tkzbradius]{8}{3}
+  \makeatletter
+  \foreach \vx in {0,...,7}{%
+    \pgfmathsetcounter{tkz@gr@n}{mod(\vx+1,8)}
+    \pgfmathsetcounter{tkz@gr@a}{mod(\vx+7,8)}
+    \pgfmathsetcounter{tkz@gr@b}{mod(\thetkz@gr@n+1,8)}
+    \Edge(a\thetkz@gr@n)(b\thetkz@gr@b)
+    \Edge(b\thetkz@gr@a)(a\vx)
+    }
+  \makeatother
+\end{tikzpicture}
+
+\end{document} 
-- 
cgit v1.2.3

