Changes

Jump to navigation Jump to search
clean up page
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=setupcombinationssetupcombination
|attributes=
}}
== [[Help:Reference|Syntax]] (autogenerated) ==<syntax>setupcombination</syntax> == Settings ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setupcombinations<span class="first" >[...,...=...,...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:beforename|beforename]]</td> <tdcolspan="2">[[Reference/en/value:commandNamed combinations are defined with {{cmd|command]] definecombination}}</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Reference/enCommand/keyword:inbetweenbefore|inbetweenbefore]]</td> <td>[[Reference/enCommand/value:command|''command'']] </td> <td>to be executed before each item-caption pair</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Reference/enCommand/keyword:afternx|afternx]]</td> <td>[[Reference/enCommand/value:commandnx|command''number'']] </td> <td>of columns in the combination (default: 2)</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Reference/enCommand/keyword:distanceny|distanceny]]</td> <td>[[Reference/enCommand/value:dimensionny|dimension''number'']] </td> <td>of rows in the combination (default: as many as needed)</td>
</tr>
  <tr valign="top" class="firstsecond"> <td class="cmd">[[Reference/enCommand/keyword:heightinbetween|heightinbetween]]</td> <td>[[Reference/enCommand/value:dimensioncommand|dimension''command'']] [[Reference</en/value:fit|fit]] td> <td>to be executed between each item and its caption</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Reference/enCommand/keyword:widthafter|widthafter]]</td> <td>[[Reference/enCommand/value:dimensioncommand|dimension''command'']] [[Reference</en/value:fit|fit]] td> <td>to be executed after each item-caption pair</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd" rowspan="2">[[Reference/enCommand/keyword:locationalternative|locationalternative]]</td> <td>[[Referencetext</en/value:top|top]] [[Reference/en/value:middle|middle]] [[Reference/en/value:bottom|bottom]] [[Reference/en/value:left|left]] [[Reference/en/value:right|right]] td> <td>interpret every second item in the combination as a caption</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Reference/en/keyword:align|align]]label</td> <td>[[Reference/en/value:no|no]] [[Reference/en/value:left|left]] [[Reference/en/value:right|right]] [[Reference/en/value:middle|middle]] [[Reference/en/value:normal|normal]] interpret every item as a figure; labels are automatically added.</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd" rowspan="2">[[Reference/enCommand/keyword:stylecontinue|stylecontinue]]</td> <td>[[Referenceyes</en/value:normal|normal]] [[Reference/en/value:bold|bold]] [[Reference/en/value:slanted|slanted]] [[Reference/en/value:boldslanted|boldslanted]] [[Reference/en/value:type|type]] [[Reference/en/value:cap|cap]] [[Reference/en/value:smalltd> <td>If alternative=label, label numbers (i.e..command|small...command]] subfigure numbers) do not reset at the start of each combination</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Reference/en/keyword:color|color]]no</td> <td>[[Reference/en/value:name|name]] 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}}. == comment Example ==<pre!-- Please fill in an example if you can -->a dutch location? -PG* Suppressing both the horizontal and vertical gap between cells:<texcode>\setupcombinations[distance=0mm,after=]</pretexcode>
* 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.
 
({{cmd|setupcombinations}} is an alias of {{cmd|setupcombination}}, but it looks more natural to use that when adjusting anonymous combination settings.)
== Example ==
<!-- Please fill in an example if you can -->
== See also ==
<!-* {{cmd|definecombination}} for how to create a named instance of a combination* {{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|setupcombinationssetupcombination]]

Navigation menu