summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-berge/examples/latex/grExtraChords.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-01-22 03:00:46 +0000
committerNorbert Preining <norbert@preining.info>2021-01-22 03:00:46 +0000
commite1a7798f45cd37c0aa0bfaaef5f0acb4e48bc867 (patch)
treed2bbebcdb7bcb8fe013a9d3cbd2cff880b18afbf /macros/latex/contrib/tkz/tkz-berge/examples/latex/grExtraChords.tex
parent37cb9bbabbfe1a8d0d1334832814ccbefcf9ac0a (diff)
CTAN sync 202101220300
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-berge/examples/latex/grExtraChords.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-berge/examples/latex/grExtraChords.tex64
1 files changed, 64 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-berge/examples/latex/grExtraChords.tex b/macros/latex/contrib/tkz/tkz-berge/examples/latex/grExtraChords.tex
new file mode 100644
index 0000000000..c3ce1095fe
--- /dev/null
+++ b/macros/latex/contrib/tkz/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}