summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/featpost/example/naoestacionar.mp
blob: e811368c4140bbf23796c26a0ed5e80d4d5b31de (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
% naoestacionar.mp
% L. Nobre G.
% 2008

prologues := 3;

verbatimtex
\documentclass{article}
\usepackage{palatino}
\begin{document}
etex

beginfig(1);
        numeric stampnum, initang, i, stepang, stampoffset, amplfactor;
        picture stamp;
        bboxmargin := 9mm;
        stampnum = 36;
        stampoffset = 0.92mm;
	amplfactor = 20;
        label.urt( btex \begin{tabular}{c}
	  N\~{A}O \\
	  estacionar
	  \end{tabular} etex scaled amplfactor, origin );
        stamp = currentpicture;
        unfill bbox stamp;
        initang = 180/stampnum;
        stepang = 2*initang;
        drawoptions();
        for i=0 upto (stampnum-1):
            draw stamp shifted (stampoffset*dir(initang+i*stepang));
        endfor;
        undraw stamp;
endfig;

verbatimtex
\end{document}
etex

end.