diff options
author | Karl Berry <karl@freefriends.org> | 2011-06-06 17:17:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-06-06 17:17:14 +0000 |
commit | 4573c0dd3deb08dfefdc8c97220bacce761173a5 (patch) | |
tree | 31c53123a6b968009031cc2651d6e5f6eaa3254c /Master/texmf-dist/doc/latex/tkz-berge/examples | |
parent | f49b6e59b0d0a356926fdca182d060edd700cf68 (diff) |
new graphics package tkz-berge (5jun11)
git-svn-id: svn://tug.org/texlive/trunk@22828 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-berge/examples')
27 files changed, 448 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/Grid.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/Grid.pdf Binary files differnew file mode 100644 index 00000000000..9ef039b55d9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/Grid.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-Circulant.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-Circulant.pdf Binary files differnew file mode 100644 index 00000000000..f9742d24c26 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-Circulant.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-Complet-16.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-Complet-16.pdf Binary files differnew file mode 100644 index 00000000000..e42c968c12d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-Complet-16.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-edgeingraphmodloop.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-edgeingraphmodloop.pdf Binary files differnew file mode 100644 index 00000000000..2488590cc83 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/gr-edgeingraphmodloop.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/grCLadder.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/grCLadder.pdf Binary files differnew file mode 100644 index 00000000000..2255aad19dc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/grCLadder.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/grDoubleMod.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/grDoubleMod.pdf Binary files differnew file mode 100644 index 00000000000..2a73aab4617 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/grDoubleMod.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/grExtraChords.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/grExtraChords.pdf Binary files differnew file mode 100644 index 00000000000..b1f3b103772 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/grExtraChords.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/grLadder.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/grLadder.pdf Binary files differnew file mode 100644 index 00000000000..d67602a061b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/grLadder.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/grSQCycle.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/grSQCycle.pdf Binary files differnew file mode 100644 index 00000000000..da31c807921 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/grSQCycle.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/grStar.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/grStar.pdf Binary files differnew file mode 100644 index 00000000000..46c00b08b93 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/grStar.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/grWheel.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/grWheel.pdf Binary files differnew file mode 100644 index 00000000000..d3b1efb32d2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/grWheel.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercube.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercube.pdf Binary files differnew file mode 100644 index 00000000000..091638a868a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercube.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercube_simple.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercube_simple.pdf Binary files differnew file mode 100644 index 00000000000..5c183b79e64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercube_simple.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercubed.pdf b/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercubed.pdf Binary files differnew file mode 100644 index 00000000000..a1c753c7c3c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/hypercubed.pdf diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/Grid.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/Grid.tex new file mode 100644 index 00000000000..839e4a6aa0c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/Grid.tex @@ -0,0 +1,21 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +%\usetikzlibrary{calc} +\begin{document} + \GraphInit[vstyle=Shade] + \SetGraphShadeColor{blue!60!black!30}{blue}{white} +\begin{center} + \begin{tikzpicture} + \grGrid[Math,RA=2,RB=2]{3}{5} + \end{tikzpicture} +\end{center} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-Circulant.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-Circulant.tex new file mode 100644 index 00000000000..678de92ceaa --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-Circulant.tex @@ -0,0 +1,51 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} + +\begin{document} + + +\begin{tikzpicture} + \GraphInit[vstyle=Art] + \grCirculant[RA=3.5]{4}{1} +\end{tikzpicture} +\begin{tikzpicture} + \GraphInit[vstyle=Art] + \grCirculant[RA=3.5]{6}{1,3} +\end{tikzpicture} + +\begin{tikzpicture} + \GraphInit[vstyle=Art] + \grCirculant[RA=3.5]{8}{1,3} +\end{tikzpicture} +\begin{tikzpicture} + \GraphInit[vstyle=Art] + \grCirculant[RA=3.5]{10}{1,3,5} +\end{tikzpicture} + +\begin{tikzpicture} + \GraphInit[vstyle=Art] + \grCirculant[RA=3.5]{12}{1,3,5} +\end{tikzpicture} +\begin{tikzpicture} + \GraphInit[vstyle=Art] +\grCirculant[RA=3.5]{14}{1,3,5,7} +\end{tikzpicture} + +\begin{tikzpicture} + \GraphInit[vstyle=Art] +\grCirculant[RA=3.5]{16}{1,3,5,7} +\end{tikzpicture} +\begin{tikzpicture} + \GraphInit[vstyle=Art] +\grCirculant[RA=3.5]{21}{1} +\end{tikzpicture} +% +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-Complet-16.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-Complet-16.tex new file mode 100644 index 00000000000..e7563b31a51 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-Complet-16.tex @@ -0,0 +1,28 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} + +\begin{document} + +\begin{center} +\begin{tikzpicture} + \SetVertexNoLabel + \tikzstyle{VertexStyle}=[shape = circle, + shading = ball, + ball color = green!40!black,% + minimum size = 20pt,% + draw] + \tikzstyle{EdgeStyle} =[thick,% + double= orange,% + double distance = 1pt] + \grCirculant[RA=6]{16}{2,3,4,5,6,7,8} +\end{tikzpicture} +\end{center} +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-edgeingraphmodloop.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-edgeingraphmodloop.tex new file mode 100644 index 00000000000..86df8303428 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/gr-edgeingraphmodloop.tex @@ -0,0 +1,26 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +\begin{document} + \begin{tikzpicture} + \grEmptyCycle[RA=4]{7} + \EdgeInGraphModLoop{a}{7}{2}{1} + \end{tikzpicture} + + \begin{tikzpicture} + \grEmptyCycle[RA=4]{8} + \EdgeInGraphModLoop{a}{8}{2}{1} + \end{tikzpicture} + + \begin{tikzpicture} + \grEmptyCycle[RA=4]{8} + \EdgeInGraphModLoop{a}{8}{3}{1} + \end{tikzpicture} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grCLadder.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grCLadder.tex new file mode 100644 index 00000000000..626f3e7cec3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grCLadder.tex @@ -0,0 +1,39 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} + +\begin{document} + +\tikzstyle{EdgeStyle}= [thick,% + double = orange,% + double distance = 1pt] +\begin{center} + + \tikzstyle{VertexStyle}=[shape = circle, + shading = ball, + ball color = green!30, + minimum size = 24pt, + draw] + \SetVertexLabel + \tikzstyle{EdgeStyle}= [color=red!30, + double= green!50!black, + double distance = 2pt] +\begin{tikzpicture} +\grPrism[RA=5,RB=3]{6}% +\end{tikzpicture} + +\begin{tikzpicture} +\grPrism[RA=5,RB=3]{4}% +\end{tikzpicture} + + +\end{center} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grDoubleMod.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grDoubleMod.tex new file mode 100644 index 00000000000..42c2fccbd4b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grDoubleMod.tex @@ -0,0 +1,23 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +%\usetikzlibrary{calc} +\begin{document} + \GraphInit[vstyle=Shade] + \SetGraphShadeColor{blue!60!black!30}{blue}{white} +\begin{center} + \begin{tikzpicture} + \grCycle[RA=7]{27} + \EdgeDoubleMod{a}{27}{0}{3} + {a}{27}{13}{3}{9} + \end{tikzpicture} +\end{center} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grExtraChords.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grExtraChords.tex new file mode 100644 index 00000000000..c3ce1095fe1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grExtraChords.tex @@ -0,0 +1,64 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} + +\begin{document} + +\tikzstyle{VertexStyle}=[shape = circle,% + fill = red!50, + very thin, + inner sep = 0pt,% + minimum size = 16pt, + draw] +\tikzstyle{EdgeStyle}= [thick,% + double= lightgray,% + double distance = 1pt] + + \SetVertexLabel +\begin{tikzpicture} + \grEmptyCycle[RA=4]{30} + \EdgeInGraphMod*{a}{30}{9}{1}{6} +\end{tikzpicture} + +\begin{tikzpicture} + \grEmptyCycle[RA=4]{30} + \EdgeInGraphMod{a}{30}{9} +\end{tikzpicture} + +\begin{tikzpicture} + \grEmptyCycle[RA=5]{30} + \EdgeInGraphMod*{a}{30}{9}{1}{6} +\end{tikzpicture} + +\begin{center} + \begin{tikzpicture}[rotate=90] + \grLCF[RA=6]{6,12}{15} + \end{tikzpicture} +\end{center} + + +\begin{center} + \begin{tikzpicture}[rotate=90] + \grLCF[RA=6]{6,12}{15} + \SetUpEdge[color=red] + \EdgeInGraphMod*{a}{30}{9}{1}{6} + \end{tikzpicture} +\end{center} + +\begin{center} + \begin{tikzpicture}[rotate=90] + \grLCF[RA=6]{6,12}{15} + \EdgeInGraphMod*{a}{30}{9}{1}{6} + \EdgeInGraphMod*{a}{30}{15}{2}{6} + \EdgeInGraphMod*{a}{30}{9}{3}{6} + \end{tikzpicture} +\end{center} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grLadder.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grLadder.tex new file mode 100644 index 00000000000..d2ab402846d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grLadder.tex @@ -0,0 +1,27 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +%\usetikzlibrary{calc} +\begin{document} + \GraphInit[vstyle=Shade] + \SetGraphShadeColor{green!30}{green!50!black}{red!30} +\begin{center} +\begin{tikzpicture} +\grLadder[RA=2,RS=3]{6}% +\end{tikzpicture} +\end{center} + +\begin{center} +\begin{tikzpicture} +\grLadder[RA=3,RS=4]{4}% +\end{tikzpicture} +\end{center} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grSQCycle.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grSQCycle.tex new file mode 100644 index 00000000000..fade3b4f646 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grSQCycle.tex @@ -0,0 +1,34 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +%\usetikzlibrary{calc} +\thispagestyle{empty} +\begin{document} + \GraphInit[vstyle=Shade] + \SetGraphShadeColor{black!50}{darkgray}{white} + \SetVertexMath +\begin{center} + \begin{tikzpicture} + \grSQCycle[RA=5]{8}% + \end{tikzpicture} +\end{center} + +\begin{center} + \begin{tikzpicture} + \grSQCycle[RA=5]{6}% + \end{tikzpicture} +\end{center} + +\begin{center} + \begin{tikzpicture} + \grSQCycle[RA=5]{9}% + \end{tikzpicture} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grStar.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grStar.tex new file mode 100644 index 00000000000..4a0d75d9191 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grStar.tex @@ -0,0 +1,37 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} + +\begin{document} + \GraphInit[vstyle=Shade] + \SetGraphShadeColor{orange!60}{red}{white} + \SetVertexMath +\begin{center} + \begin{tikzpicture} + \grEmptyStar[RA=3]{6} + \end{tikzpicture} +\end{center} + + +\begin{center} + \begin{tikzpicture} + \grStar[RA=3]{7} + \end{tikzpicture} +\end{center} + + +\begin{center} + \begin{tikzpicture} + \grStar[RA=4]{10} + \end{tikzpicture} +\end{center} + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grWheel.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grWheel.tex new file mode 100644 index 00000000000..28f563de4c0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/grWheel.tex @@ -0,0 +1,28 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +\begin{document} + \GraphInit[vstyle=Shade] + \SetGraphShadeColor{orange!60!black!30}{Brown}{white} +\begin{center} + \begin{tikzpicture} + \grWheel[RA=3]{5} + \end{tikzpicture} +\end{center} + + +\begin{center} + \begin{tikzpicture} + \grWheel[RA=4]{10} + \end{tikzpicture} +\end{center} + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/hypercube_simple.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/hypercube_simple.tex new file mode 100644 index 00000000000..8ae56a4875c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/hypercube_simple.tex @@ -0,0 +1,32 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +\begin{document} +\SetVertexSimple +\SetVertexNoLabel +\begin{center} + \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{center} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/hypercubed.tex b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/hypercubed.tex new file mode 100644 index 00000000000..f5c33f46931 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-berge/examples/latex/hypercubed.tex @@ -0,0 +1,38 @@ +% Author : Alain Matthes +% Encoding : UTF8 +% Engine : PDFLaTeX +\documentclass[]{article} +\usepackage[utf8]{inputenc} +\usepackage[usenames,dvipsnames]{xcolor} +\usepackage{fullpage} +\usepackage[upright]{fourier} +\usepackage{tkz-berge} +\thispagestyle{empty} +\begin{document} +\tikzstyle{SimpleVertexStyle} = [shape = circle,% + fill = red,% + inner sep = 3pt,% + outer sep = 0pt,% + draw] +\SetVertexSimple +\SetVertexNoLabel + +\begin{center} + \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{center} + +\end{document}
\ No newline at end of file |