Changes

Jump to navigation Jump to search
Initial version
<cd:commandgroup name="floatcombination" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>A number of float objects arranged in a matrix.</cd:shortdesc>
<cd:variants>
<cd:command category="tables" file="pack-com.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-combination.xml" keywords="float" level="document" name="floatcombination" type="environment" variantnumber="1">
<cd:arguments>
<cd:assignments list="yes" optional="yes" ordinal="1">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setupcombination"></cd:inherit>
</cd:assignments>
</cd:arguments>
</cd:command>
<cd:command category="tables" file="pack-com.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-combination.xml" keywords="float" level="document" name="floatcombination" type="environment" variant="matrix" variantnumber="2">
<cd:arguments>
<cd:keywords optional="yes" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:matrix"></cd:constant>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>A floatcombination is a number of float objects arranged in a matrix, with an optional caption below each object. It is used for nested floats.</cd:description>
<cd:examples><cd:example title="A simple float combination"><texcode>
\useMPlibrary [dum]

\starttext

\startplacefigure [location=none]
\startfloatcombination [nx=2, ny=1]
\startplacefigure [title=Left, reference=fig:left] \externalfigure \stopplacefigure
\startplacefigure [title=Right, reference=fig:right] \externalfigure \stopplacefigure
\stopfloatcombination
\stopplacefigure

See \in{figure}[fig:left] and \in{figure}[fig:right].

\stoptext
</texcode>

<context>
\useMPlibrary [dum]

\starttext

\startTEXpage [offset=5mm]
\startplacefigure [location=none]
\startfloatcombination [nx=2, ny=1]
\startplacefigure [title=Left, reference=fig:left] \externalfigure \stopplacefigure
\startplacefigure [title=Right, reference=fig:right] \externalfigure \stopplacefigure
\stopfloatcombination
\stopplacefigure

See \in{figure}[fig:left] and \in{figure}[fig:right].
\stopTEXpage

\stoptext
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="definecombination" originator="system"></cd:commandref>
<cd:commandref name="setupcombination" originator="system"></cd:commandref>
<cd:source file="pack-com.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Tables"></cd:wikipage>
<cd:wikipage originator="system" page="Keywords:Float"></cd:wikipage>
<cd:wikipage page="Combinations"></cd:wikipage>
<cd:wikipage page="Floating_Objects"></cd:wikipage>
<cd:commandref name="startsubfloatnumbering"></cd:commandref></cd:seealso>
</cd:commandgroup>
69

edits

Navigation menu