ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Large Figure on Landscape Orientation
Date: Sun, 26 Jun 2011 23:06:06 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1106262303070.22412@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <1309140433.9217.78.camel@kip-laptop>

On Sun, 26 Jun 2011, Kip Warner wrote:

> I'm having difficulty getting an external image to display on its own
> page, with the page in landscape mode, and the image uniformly scaled as
> large as can fit on that page.
>
> Relevant portions of my environment file include...
>
> \setuplayout
>  [\c!location=\v!middle,
>   \c!style=\ss,
>   \c!backspace=2.5cm,
>   \c!topspace=1.5cm,
>   \c!width=16cm,
>   \c!margindistance=.25cm,
>   \c!margin=2.5cm,
>   \c!height=\v!middle]
>
> \definelayout
>  [fullpage]
>  [\c!backspace=0pt,
>   \c!topspace=0pt,
>   \c!width=\v!middle,
>   \c!height=\v!middle,
>   \c!header=0pt,
>   \c!footer=0pt]
>
> \definepapersize[main][A4][A4]
> \definepapersize[diagram][A4,landscape][A4,landscape]
>
> And the actual image in my component is here:
>
> \page
> \setuppapersize[diagram]
> \placefigure
>    [force][figure:MyImage]
>    {My image caption.}
>    {\externalfigure[MyImage][factor=max]}
> \page
> \setuppapersize[main]
>
> The document is all in portrait mode, save the page with the figure
> which is landscaped, as intended. But the image sits only occupying the
> top left quarter of the page. I've tried changing factor from max to
> broad and fit, and to no avail.

(untested)

try

\externalfigure[...][width=\textwidth,height=\textheight,factor=max]

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-06-27  3:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27  2:07 Kip Warner
2011-06-27  3:06 ` Aditya Mahajan [this message]
2011-06-27  7:35   ` Kip Warner
2011-06-27  7:52 ` Wolfgang Schuster
2011-06-28  1:55   ` Kip Warner
2011-06-28  7:28     ` Hans Hagen
2011-06-28 21:38       ` Kip Warner
2011-06-28 21:41         ` luigi scarso
2011-06-28 21:41         ` Wolfgang Schuster
2011-06-28 21:59         ` Hans Hagen
2011-06-28 22:03           ` Kip Warner
2011-06-28 23:10             ` luigi scarso
2011-06-28  5:35 ` Aditya Mahajan
2011-06-28  8:20   ` Wolfgang Schuster
2011-06-28 15:22     ` Aditya Mahajan
2011-06-28 23:10   ` Kip Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.02.1106262303070.22412@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).