summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-berge/examples/latex/grExtraChords.tex
blob: c3ce1095fe150a548d96f4db65be4052fda60939 (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
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}