Changes

Jump to navigation Jump to search
1,981 bytes added ,  11:27, 15 November 2021
Created page with "Documentation for \startpagefigure ... \stoppagefigure"
<cd:commandgroup name="pagefigure" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The environment <tt>\startpagefigure ... \stoppagefigure</tt> is used to create a page containing only a single image
</cd:shortdesc>
<cd:variants>
<cd:command category="graphics" file="page-app.mkiv" interfacedate="2020-06-19T13:41" interfacefile="i-pagefigure.xml" level="document" name="pagefigure" type="environment" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:file"></cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="2">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:parameter name="offset">
<cd:paramdoc></cd:paramdoc>
<cd:constant type="default"></cd:constant>
<cd:constant type="overlay"></cd:constant>
<cd:constant type="none"></cd:constant>
<cd:constant type="cd:dimension"></cd:constant>
</cd:parameter>
</cd:assignments>
</cd:arguments>
</cd:command>
</cd:variants>
<cd: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.
<texcode>
\startTEXpage
\externalfigure[...]
(optional other text)
\stopTEXpage
</texcode></cd:description>
<cd:examples><cd:example title=""><context source="yes">
\setupexternalfigures[location=default]
\startpagefigure[cow][width=4cm, height=1cm]
Some text\crlf
Other text
\stoppagefigure
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="page-app.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Graphics"></cd:wikipage>
<cd:commandref name="startTEXpage"></cd:commandref>
<cd:commandref name="startMPpage"></cd:commandref>
<cd:commandref name="externalfigure"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu