TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have high resolution images that would be much more effectively executed in landscape format. Is there a way to tell ConTeXt to automatically place images in landscape format to suit their dimensions when fitting them to a page?

share|improve this question
Are you talking about inline figures or about floating figures? – Aditya Mar 26 '12 at 16:10
Floating, I believe. I'm using the "externalfigure" command and they are large enough to not reflow. \placefigure[] [fig:i2] {The SDFN Diagram for Interview 2} {\externalfigure[Chapter4/graphs/i2_rot.png][factor=fit,frame=on]} – Brian Ballsun-Stanton Mar 26 '12 at 19:08
up vote 3 down vote accepted

I don't know of any automatic method, but what you can do is to define a custom style for the images that have to be rotated and use it for big images. Example:

\defineexternalfigure [BigImage] [orientation=90]


\externalfigure [cow]
\externalfigure [cow] [BigImage]


Whenever you want to include a big image that should be rotated, you add another pair of brackets with the identifier (here [rot] for rotated).

share|improve this answer
I would change the name of the identifier to rotated or landscape. Using abbreviated names like rot does not fit in with ConTeXt naming scheme. – Aditya Apr 11 '12 at 19:00
@Aditya The idea was to emphasize that it's an arbitrary identifier and not a keyword. I changed it to BigImage; that's what describes the nature of the image, rotated would describe how it is displayed. – Marco Apr 11 '12 at 19:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.