texmf-dist/doc/metapost/featpost/example/featpostlogo.mp
raw| 1 | % featpostlogo.mp |
| 2 | % L. Nobre G. |
| 3 | % 2002 |
| 4 | |
| 5 | input featpost3Dplus2D; |
| 6 | |
| 7 | verbatimtex |
| 8 | \documentclass{article} |
| 9 | \newfont{\normald}{logod10 scaled 5000} |
| 10 | \pagestyle{empty} |
| 11 | \begin{document} |
| 12 | etex |
| 13 | |
| 14 | input boxes; |
| 15 | |
| 16 | beginfig(1); |
| 17 | picture logo; |
| 18 | defaultdx := 3mm; |
| 19 | defaultdy := 2mm; |
| 20 | logo = thelabel.urt( btex {\normald FEATPOST} etex, origin ); |
| 21 | boxit.thelogo( logo ); |
| 22 | drawboxed( thelogo ); |
| 23 | endfig; |
| 24 | |
| 25 | verbatimtex |
| 26 | \end{document} |
| 27 | etex |
| 28 | |
| 29 | end; |