[NTG-context] Page Size to Figure Size

Kip Warner kip at thevertigo.com
Sat Dec 31 23:39:52 CET 2011

On Thu, 2011-12-29 at 23:57 -0500, Aditya Mahajan wrote:
> On Thu, 29 Dec 2011, Kip Warner wrote:
> > Hey list,
> >
> > I have a lot of fairly large diagrams in my book that don't always match
> > the aspect ratio of the page in landscape mode, though they usually are
> > closer to landscape than a portrait layout for the page dimension.
> >
> > How can I insert a figure so that it is of a given size, with the page
> > size perfectly cropped around it?
> \startTEXpage[offset=1mm]
> \externalfigure[...]
> \stopTEXpage
> Aditya

Hey Aditya,

I've adapted it into the following.

% Insert a full page diagram, parameters are node name, caption, and

It's not doing quite what I'd like though. I'd like the frame to be
flush with the outside edge of the page and the image to be perfectly
fitted to the frame, except at the bottom where the image caption needs
to be. I'd like to be able to say that the image should be of a given
width, with the aspect ratio automatically maintained.

Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20111231/ee12ca1b/attachment.pgp>

More information about the ntg-context mailing list