Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/rviewport

	       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.

Files

Name Size Date Notes
Makefile 1014 2011-08-28 12:46:19
README 839 2011-08-28 12:53:13
rviewport.dtx 7099 2011-08-28 12:53:32
rviewport.ins 1042 2011-08-28 12:46:19
rviewport.pdf 223554 2011-08-28 12:53:34
vitruvian.jpg 63756 2011-08-28 12:25:32

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (242.7k).

rview­port – Rel­a­tive View­port for Graph­ics In­clu­sion

Pack­age graph­icx pro­vides a use­ful key­word view­port which al­lows to show just a part of an im­age. How­ever, one needs to put there the ac­tual co­or­di­nates of the view­port win­dow. Some­times it is use­ful to have rel­a­tive co­or­di­nates as frac­tions of nat­u­ral size. For ex­am­ple, one may want to print a large im­age on a spread, putting a half on a verso page, and an­other half on the next recto page. For this one would need a view­port oc­cu­py­ing ex­actly one half of the file's bound­ing box, what­ever the ac­tual width of the im­age may be.

This pack­age adds a new key­word rview­port to the graph­icx pack­age speci­fiy­ing Rel­a­tive View­port for graph­ics in­clu­sion: a win­dow de­fined by the given frac­tions of the nat­u­ral width and height of the im­age.

Doc­u­men­ta­tion
Ver­sionv1.0
Li­censeThe LaTeX Project Public Li­cense
Copy­right2011 Boris Veyts­man
Main­tainerBoris Veyts­man
Con­tained inTeXLive as rview­port
MiKTeX as rview­port
Topics in­clude ex­ter­nal graph­ics
See also graphicx
Guest Book Sitemap Contact 2014-04-17 05:51 CEST