AZ logo

CTAN directory: /macros/latex/contrib/rviewport

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
rviewport Relative Viewport for Graphics Inclusion.

Files

Name Size* Date UTC Notes
Makefile 1 KiB 2011-Aug-27
README 1 KiB 2011-Aug-27 Shown below
rviewport.dtx 7 KiB 2011-Aug-27
rviewport.ins 1 KiB 2011-Aug-27
rviewport.pdf 218 KiB 2011-Aug-27
vitruvian.jpg 62 KiB 2011-Aug-27

  *File sizes in kibibytes.

Contents of 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.