CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/rviewport

README
	       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.

Download the contents of this package in one zip archive (242.7k).

rviewport – Relative Viewport for Graphics Inclusion

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.

Packagerviewport
Version1.0
LicensesThe Project Public License
MaintainerBoris Veytsman
Contained inTeX Live as rviewport
MiKTeX as rviewport
TopicsGraphics include
See alsographicx
...
Guest Book Sitemap Contact Contact Author