Difference between revisions of "Command/startpagefigure"

From ConTeXt wiki
 
Line 6: Line 6:
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>startpagefigure</syntax>
 
<syntax>startpagefigure</syntax>
 +
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Latest revision as of 16:12, 12 November 2019

\startpagefigure

Syntax (autogenerated)

\startpagefigure[...][...=...,...] ... \stoppagefigure
[...]file
offsetdefault overlay none dimension


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: