summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rviewport/README
blob: f58d8dbfdb777c7c200d89923f819082b9750f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	       Relative Viewport for Graphics Inclusion
			    Boris Veytsman
			   v1.0, 2011/08/27


Package graphicx provides a useful keyword viewport which allows to
show just a part of an image.  However, one needs to put there the
actual coordinates of the viewport window.  Sometimes it is useful to
have relative coordinates as fractions of natural size.  For example,
one may want to print a large image on a spread, putting a half on a
verso page, and another half on the next recto page.  For this one
would need a viewport occupying exactly one half of the file's
bounding box, whatever the actual width of the image may be.

This package adds a new keyword rviewport to the graphicx package
specifiying Relative Viewport for graphics inclusion: a window defined
by the given fractions of the natural width and height of the image.