Difference between revisions of "Command/startpagefigure"

From Wiki
Jump to navigation Jump to search
m (Text replacement - "<syntax>start" to "<syntax type=“environment”>")
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>startpagefigure</syntax>
+
<syntax type=“environment”>pagefigure</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Revision as of 19:46, 24 July 2020

\startpagefigure

Syntax (autogenerated)

\pagefigure[...][...=...,...]
[...]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: