Debian Codegraph @

texmf-dist/metapost/slideshow/sshowex.mp

raw
1 input slideshow;
2 pair points[];
3 nextfig;
4 points0 = (.5lawidth, .9laheight);
5 ypart points1 = ypart points2 = .1laheight;
6 xpart points1 = lawidth - xpart points2 = .3lawidth;
7
8 pickup thin nib;
9
10 draw points1..points0 withcolor textcolour;
11 hyperdest("start");
12 endfig;
13
14 % build on previous slide for next few
15 continue;
16 nextfig;
17 pickup thin nib;
18
19 draw points0..points2 withcolor textcolour;
20 endfig;
21 nextfig;
22 pickup thin nib;
23
24 draw points2..points1 withcolor textcolour;
25 endfig;
26
27 nextfig;
28 blabel.top("A", points0);
29 endfig;
30 nextfig;
31 blabel.lft("B", points1);
32 endfig;
33 nextfig;
34 blabel.rt("C", points2);
35 endfig;
36
37 % new sequence of slides ...
38 discontinue;
39 nextfig;
40 hyperlabel("The End" infont defaultfont scaled magstep 2, (.5lawidth, .5laheight), "start");
41 endfig;
42 end