Difference between revisions of "Command/startpagefigure"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \startpagefigure ... \stoppagefigure")
 
 
Line 31: Line 31:
 
<cd:examples><cd:example title=""><context source="yes">
 
<cd:examples><cd:example title=""><context source="yes">
 
\setupexternalfigures[location=default]
 
\setupexternalfigures[location=default]
\startpagefigure[cow][width=4cm, height=1cm]
+
\startpagefigure[cow]
 
   Some text\crlf
 
   Some text\crlf
 
   Other text
 
   Other text

Latest revision as of 11:28, 15 November 2021


\startpagefigure ... \stoppagefigure

Summary

The environment \startpagefigure ... \stoppagefigure is used to create a page containing only a single image

Settings

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

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.
\startTEXpage
\externalfigure[...]
(optional other text)
\stopTEXpage

Examples

Example 1

\setupexternalfigures[location=default]
\startpagefigure[cow]
  Some text\crlf
  Other text
\stoppagefigure

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: