diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/lgc2/3-5-64.mp |
Initial commit
Diffstat (limited to 'info/examples/lgc2/3-5-64.mp')
-rw-r--r-- | info/examples/lgc2/3-5-64.mp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/info/examples/lgc2/3-5-64.mp b/info/examples/lgc2/3-5-64.mp new file mode 100644 index 0000000000..482a46dd16 --- /dev/null +++ b/info/examples/lgc2/3-5-64.mp @@ -0,0 +1,24 @@ +% --- start of displayed preamble in the book --- +input metaobj +% --- end of displayed preamble in the book --- +defaultfont:="ptmr8r"; +warningcheck:=0; +beginfig(1) +newBox.a(btex apples\strut etex); +newBox.b(btex oranges\strut etex); +newBox.c(btex bananas\strut etex); +newBox.f(btex fruits\strut etex); +newBox.d(btex potatoes\strut etex); +newBox.e(btex peas\strut etex); +newBox.v(btex vegetables\strut etex); +newBox.fo(btex food\strut etex); + +newTree.fruits(f)(a,b,c) "Dalign(bot)"; +newTree.vegetables(v)(d,e) + "Dalign(center)"; +newTree.food(fo)(fruits,vegetables) + "hbsep(1cm)"; +scaleObj(food,.7); +food.c=origin;drawObj(food); +endfig; +end; |