Changes

Jump to navigation Jump to search
no edit summary
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>setupcombinations</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setupcombinations<span class="first" >[...,...=...,...]</span></td>
</tr>
<tr>
<td colspan="2" class="cmd">\setupcombination<span class="second">[''name defined with {{cmd|definecombination}}'']</span><span class="first" >[...,...=...,...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:before|before]]</td> <td>[[Reference/enCommand/value:command|''command'']] to be executed before each item-caption pair</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:inbetweennx|inbetweennx]]</td> <td>[[Reference/enCommand/value:commandnx|command''number'']] of columns in the combination (default: 2)</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:afterny|afterny]]</td> <td>[[Reference/enCommand/value:commandny|command''number'']] of rows in the combination (default: as many as needed)</td>
</tr>
 
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:distanceinbetween|distanceinbetween]]</td> <td>[[Reference/enCommand/value:dimensioncommand|dimension''command'']] to be executed between each item and its caption</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:heightafter|heightafter]]</td> <td>[[Reference/en/value:dimension|dimension]] [[Reference/enCommand/value:fitcommand|fit''command'']] to be executed after each item-caption pair</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:widthdistance|widthdistance]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] [[Reference/en/value:fit|fit]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:locationheight|locationheight]]</td> <td>[[Reference/en/value:top|top]] [[Reference/en/value:middle|middle]] [[Reference/enCommand/value:bottomdimension|bottomdimension]] [[Reference/en/value:left|left]] [[Reference/enCommand/value:rightfit|rightfit]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:alignwidth|alignwidth]]</td> <td>[[Reference/en/value:no|no]] [[Reference/en/value:left|left]] [[Reference/enCommand/value:rightdimension|rightdimension]] [[Reference/en/value:middle|middle]] [[Reference/enCommand/value:normalfit|normalfit]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:stylelocation|stylelocation]]</td> <td>[[Reference/enCommand/value:normaltop|normaltop]] [[Reference/enCommand/value:boldmiddle|boldmiddle]] [[Reference/enCommand/value:slantedbottom|slantedbottom]] [[Reference/enCommand/value:boldslantedleft|boldslantedleft]] [[Reference/en/value:type|type]] [[Reference/en/value:cap|cap]] [[Reference/en/value:small... |small]] [[Reference/enCommand/value:commandright|commandright]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[ReferenceCommand/enkeyword:align|align]]</td> <td>[[Command/value:no|no]] [[Command/value:left|left]] [[Command/value:right|right]] [[Command/value:middle|middle]] [[Command/value:normal|normal]] </td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Command/keyword:style|style]]</td> <td>[[Command/value:normal|normal]] [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:cap|cap]] [[Command/value:small... |small]] [[Command/value:command|command]] </td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Command/keyword:color|color]]</td> <td>[[Reference/enCommand/value:name|name]] </td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Command/keyword:alternative|alternative]]</td> <td>{| class="wikitable"|-| text || interpret every second item in the combination as a caption|-| label || interpret every item as a figure; labels are automatically added.|}</td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Command/keyword:continue|continue]]</td> <td>{| class="wikitable"|-| yes || If alternative=label, label numbers (i.e. subfigure numbers) do not reset at the start of each combination|-| no || If alternative=label, label numbers reset at the start of each new combination|}</td>
</tr>
</table>
== Description ==
Set up the behaviour of {{cmd|startcombination}} or {{cmd|startcombination|[mycombination]}}. These parameters may also be used ad-hoc in the options parameter of {{cmd|startcombination}}.
 
== Example ==
<!-- Please fill in an example if you can -->
* Suppressing both the horizontal and vertical gap between cells:
<texcode>\setupcombinations[distance=0mm,after=]</texcode>
* a 10mm horizontal and vertical gap between cells:
<texcode>\setupcombinations[distance=10mm,after={\blank[10mm]}]</texcode>
== Example ==<!-- Please fill in an example if you can -->The distance between the content and its caption entry is set with the 'inbetween' parameter.
== See also ==
<!* {{cmd|startcombination}} for an example of {{code|alternative=label}}* {{cmd|placefloat}} to float a combination* {{cmd|setuplabel}} to adapt a combination's automatic labels == Help from ConTeXt-- something like [[cmdMailinglist/Forum ==All issues with:goto{{Forum|\goto]] -->{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enFloating|setupcombinations]]

Navigation menu