summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/tkz/tkz-berge/NamedGraphs/examples/latex/tkzNamed-15-2-0.tex
blob: b7f4049f63a71366695d5993907097b80d1dabad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%
% tkz-namedgraphs (27/05/2011)
%
% Coding (utf8) Creator (TeX) Producer (pdfeTeX) 
% Author Alain Matthes
\input{tkzpreamblenamed.ltx}

\begin{document}

\begin{tikzpicture}
  \grCycle[Math,RA=4,prefix=a]{6}
  \grCycle[Math,RA=6,prefix=b]{6}
  \foreach \x in {0,...,5}{%
    \ifthenelse{\isodd{\x}}{%
     \pgfmathsetcounter{tempi}{\x-1}}{%
     \pgfmathsetcounter{tempi}{\x+1}}
     \Edge(a\x)(b\thetempi)
}
 \end{tikzpicture}

\end{document}