LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Boris Veytsman <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Sun, 20 Sep 2015 22:24:33 -0400
text/plain (33 lines)
RK> Date:         Mon, 21 Sep 2015 03:51:44 +0200
RK> From: Reinhard Kotucha <[log in to unmask]>

RK> The viewport is specified in terms of pixels.  After downsampling the
RK> photos I had to change the viewport arguments (divide them by the
RK> downsampling factor).  This had to be done manually and thus was quite
RK> inconvenient.

RK> It would be quite handy to have an option which behaves similar to
RK> viewport but accepts arguments relative to the size of the original
RK> graphic, for instance [0.15 0.2 0.87 0.98].

I am sorry if this is an offtopic here, but the package rviewport in
LaTeX2e (full disclosure: written by me and paid for by the Food and
Agriculture Organization of the United Nations) does exactly this:

     \includegraphics[rviewport=0.15 0.2 0.87 0.98, clip]{image}

is the syntax of the package.

I have no objection, of course, if L3 uses this in the core graphics
instead of a contributed code.

Good luck


Whether your covers star a male or a female, I read your magazine for the
		-- Leo Costales, in "Outside July 2005"