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