Command/startpagefigure

From ConTeXt wiki
< Command
Revision as of 10:46, 9 April 2015 by Mari (talk | contribs) (I fixed the code, a \startTEXpage had slunk in instead of \startpagefigure.)

\startpagefigure

Syntax

\startpagefigure[...][...] ... \stoppagefigure
[...] figure name, see \externalfigure
[...] figure options, see \setupexternalfigures
... optional other contents

Description

Create a page containing only a single image, possibly with some text underneath it. The page will adjust its size to its contents. The code is very simple, approximately as follows.

\startpagefigure
\externalfigure[...]
(optional other text)
\stoppagefigure

Example

\setupexternalfigures[location=default]
\startpagefigure[cow][width=4cm, height=1cm]
  Some text\crlf
  Other text
\stoppagefigure

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: