summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/adigraph/test.tex
blob: ba12098a92a06c1e642762b075d5125a812c743c (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
\documentclass{report}

\usepackage{adigraph}

\title{Adigraph, V1.2, small working test}
\author{Luca Cappelletti}
\date{March 2018}

\begin{document}
\maketitle
\NewAdigraph{myAdigraph}{
  s:0,0;
  1:2,2;
  3:2,-2;
  2:6,2;
  4:6,-2;
  t:8,0;
}{
  s,1:25;
  s,3:25;
  3,4:25;
  1,2:35;
  2,t:20;
  4,t:30;
  3,1:10;
  4,2:10;
  2,3:15::near start;
  4,1:5::near start;
}

\myAdigraph{}


\myAdigraph{
  s,3,4,2,t:5;
}

\myAdigraph{}{
  2,t,red;
  3,4,blue;
}
\end{document}