[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users-jp 00850] new directive: %area



%area という directive を追加しました。

尾上
--- Begin Message ---
Now you can put 'area 90 90' to your default.mgp to avoid that the edge of
your presentation clipped by a projector, which is shown in every IETF
meetings.

The new snapshot for mgp contains a new directive: %area to specify the
drawing area.  You can get the new snapshot from
	ftp://sh.wide.ad.jp/WIDE/free-ware/mgp-snap/mgp-snap-20010813.tar.gz
or consult
	http://www.mew.org/mgp/anoncvs.html
to use anoncvs.

The description from SYNTAX:
| %area <width> <height> [<xoffset> <yoffset>]
| 	Specify the drawing area within the window.  All parameters are
| 	translated as relative value of the window.  If offset is not
| 	specified, the drawing area will be put center.
| 	Note that all relative size specified in other directive after
| 	"%area" will be affected, i.e. it will be relative to the
| 	width/height of the drawing area instead of the window.

And you can make a 2 coulmn page by using the directive:
	%area 40 80 5 20
		left column
	%area 40 80 50 20
		right column
You can find this sample in sample/sample.mgp.

Note that the height of the area affects following size.  If you don't
want to shrink size of characters inside the area, you may copy
the original height value.  Overflow in (height + yoffset) will be ignored,
while (width + xoffset) will be adjested to be <= 100.
	%size 10
	%area 40 50 5 50
		1/2 size font
	%area 40 100 50 50
		original size font

Enjoy!

Atsushi Onoe


--- End Message ---