texmf-dist/doc/metapost/featpost/example/onebigword.mp
raw| 1 | |
| 2 | beginfig(1); |
| 3 | picture topl; |
| 4 | color one, two, thr, fur; |
| 5 | string drawcommand; |
| 6 | drawcommand = "draw topl withcolor one;"; |
| 7 | % defaultfont := "putr8r"; |
| 8 | % defaultfont := "bchr8r"; |
| 9 | one = (0.13333,0.54510,0.13334); |
| 10 | two = (0.74118,0.71764,0.41961); |
| 11 | thr = (0.80000,0.20000,0.20000); |
| 12 | fur = (0.00000,0.85000,1.00000); |
| 13 | topl = thelabel( "40", origin) scaled 7; |
| 14 | scantokens( drawcommand ); |
| 15 | endfig; |
| 16 | |
| 17 | end; |