summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/doc/latex/NamedGraphs-Andrasfai.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-berge/NamedGraphs/doc/latex/NamedGraphs-Andrasfai.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-berge/NamedGraphs/doc/latex/NamedGraphs-Andrasfai.tex63
1 files changed, 63 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/doc/latex/NamedGraphs-Andrasfai.tex b/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/doc/latex/NamedGraphs-Andrasfai.tex
new file mode 100644
index 0000000000..41c7b2b578
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/doc/latex/NamedGraphs-Andrasfai.tex
@@ -0,0 +1,63 @@
+%!TEX root = /Users/ego/Boulot/TKZ/tkz-berge/NamedGraphs/doc/NamedGraphs-main.tex
+\newpage\section{Andrasfai graph}
+%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
+% Andrasfai
+%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
+\begin{NewMacroBox}{grAndrasfai}{\oarg{options}\var{$k$}}
+
+\medskip
+From MathWord : \url{http://mathworld.wolfram.com/AndrasfaiGraph.html}
+
+\emph{The k-Andrásfai graph is a circulant graph on $3k-1$ nodes whose indices are given by the integers 1,\dots,$3k-1$ that are congruent to 1 (mod 3).
+\href{http://mathworld.wolfram.com/topics/GraphTheory.html}%
+ {\textcolor{blue}{MathWorld}} by \href{http://en.wikipedia.org/wiki/Eric_W._Weisstein}%
+ {\textcolor{blue}{E.Weisstein}}
+}
+
+\medskip
+\end{NewMacroBox}
+
+\bigskip
+
+\subsection{\tkzname{Andrásfai graph : k=7, order 20}}
+
+\bigskip
+\begin{center}
+\begin{tkzexample}[vbox]
+\begin{tikzpicture}[scale=.7]
+ \GraphInit[vstyle=Art]
+ \SetGraphArtColor{red}{olive}
+ \grAndrasfai[RA=7]{7}
+ \end{tikzpicture}
+\end{tkzexample}
+\end{center}
+
+\vfill\newpage
+\subsection{\tkzname{Andrásfai graph : k=8, order 23}}
+
+\bigskip\begin{center}
+\begin{tkzexample}[vbox]
+\begin{tikzpicture}
+ \GraphInit[vstyle=Art]
+ \SetGraphArtColor{red}{olive}
+ \grAndrasfai[RA=7]{8}
+ \end{tikzpicture}
+\end{tkzexample}
+\end{center}
+
+
+\vfill\newpage
+\subsection{\tkzname{Andrásfai graph : k=9, order 26}}
+
+\bigskip\begin{center}
+\begin{tkzexample}[vbox]
+\begin{tikzpicture}
+ \GraphInit[vstyle=Art]
+ \SetGraphArtColor{red}{olive}
+ \grAndrasfai[RA=7]{9}
+\end{tikzpicture}
+\end{tkzexample}
+\end{center}
+
+
+\endinput