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">[[Command/keyword:before|before]]</td>
<td>[[Command/value:command|''command'']] to be executed before each item-caption pair</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:nx|nx]]</td>
<td>[[Command/value:nx|''number'']] of columns in the combination (default: 2)</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:ny|ny]]</td>
<td>[[Command/value:ny|''number'']] of rows in the combination (default: as many as needed)</td>
</tr>
 
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:inbetween|inbetween]]</td>
<td>[[Command/value:command|''command'']] to be executed between each item and its caption</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:beforeafter|beforeafter]]</td> <td>[[Reference/enCommand/value:command|''command'']] to be executed after each item-caption pair</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:inbetweendistance|inbetweendistance]]</td> <td>[[Reference/enCommand/value:commanddimension|commanddimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:afterheight|afterheight]]</td> <td>[[ReferenceCommand/envalue:dimension|dimension]] [[Command/value:commandfit|commandfit]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:distancewidth|distancewidth]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] [[Command/value:fit|fit]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:heightlocation|heightlocation]]</td> <td>[[ReferenceCommand/envalue:top|top]] [[Command/value:dimensionmiddle|dimensionmiddle]] [[ReferenceCommand/envalue:bottom|bottom]] [[Command/value:left|left]] [[Command/value:fitright|fitright]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:widthalign|widthalign]]</td> <td>[[ReferenceCommand/envalue:no|no]] [[Command/value:dimensionleft|dimensionleft]] [[ReferenceCommand/envalue:right|right]] [[Command/value:middle|middle]] [[Command/value:fitnormal|fitnormal]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:locationstyle|locationstyle]]</td> <td>[[ReferenceCommand/envalue:normal|normal]] [[Command/value:topbold|topbold]] [[ReferenceCommand/envalue:slanted|slanted]] [[Command/value:middleboldslanted|middleboldslanted]] [[ReferenceCommand/envalue:type|type]] [[Command/value:bottomcap|bottomcap]] [[Reference/enCommand/value:leftsmall... |leftsmall]] [[Reference/enCommand/value:rightcommand|rightcommand]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:aligncolor|aligncolor]]</td> <td>[[Reference/en/value:no|no]] [[Reference/en/value:left|left]] [[Reference/en/value:right|right]] [[Reference/en/value:middle|middle]] [[Reference/enCommand/value:normalname|normalname]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:stylealternative|stylealternative]]</td> <td>[[Reference/en/value:normal{| class="wikitable"|-| text |normal]] [[Reference/en/value:bold|bold]] [[Reference/en/value:slantedinterpret every second item in the combination as a caption|slanted]] [[Reference/en/value:boldslanted-|boldslanted]] [[Reference/en/value:typelabel |type]] [[Reference/en/value:cap|cap]] [[Reference/en/value:small..interpret every item as a figure; labels are automatically added. |small]] [[Reference/en/value:command|command]] }</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:colorcontinue|colorcontinue]]</td> <td>[[Reference/en/value:name{| 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|name]] }</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 ==
* Suppressing both the horizontal and vertical gap between cells:
<texcode>\setupcombinations[distance=0mm,inbetweenafter=]</texcode> * a 10mm horizontal and vertical gap between cells:<texcode>\setupcombinations[distance=10mm,after={\blank[10mm]}]</texcode> 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:CommandsCommand/Floating|setupcombinations]]

Navigation menu