summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/doc/latex/NamedGraphs-Andrasfai.tex
blob: 41c7b2b578dc147549dba8c343cab75ece11352c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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