summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/featpost/example/statethreelines.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/featpost/example/statethreelines.mp')
-rw-r--r--Master/texmf-dist/doc/metapost/featpost/example/statethreelines.mp21
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/featpost/example/statethreelines.mp b/Master/texmf-dist/doc/metapost/featpost/example/statethreelines.mp
new file mode 100644
index 00000000000..c2221d20e35
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/featpost/example/statethreelines.mp
@@ -0,0 +1,21 @@
+input boxes;
+
+beginfig(0);
+ picture topl, midd, botl;
+ numeric tl, ml, bl;
+ defaultfont := "bchbo8r";
+% defaultfont := "putro8r";
+ topl = thelabel( "Eu Vivo", origin) yscaled 1;
+ midd = thelabel( "na", origin) scaled 1;
+ botl = thelabel( "Cauda da Europa", origin) yscaled 1;
+ tl = abs( urcorner topl - ulcorner topl );
+ ml = abs( urcorner midd - ulcorner midd );
+ bl = abs( urcorner botl - ulcorner botl );
+ boxjoin( a.se=b.ne; a.sw=b.nw );
+ boxit.topli(topl);
+ boxit.middl(midd);
+ boxit.botli(botl);
+ drawunboxed( topli, middl, botli );
+endfig;
+
+end;