Changes

Jump to navigation Jump to search
1,197 bytes removed ,  08:06, 29 June 2020
clean up page
{{Reference
|name=setupcombinationssetupcombination
|attributes=
}}
== [[Help:Reference|Syntax]] (autogenerated) ==<syntax>setupcombination</syntax> == Settings ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr> <td colspanvalign="2top" class="cmdfirst">\setupcombinations <span td class="firstcmd" >[...,...=...,...[Command/keyword:name|name]]</span></td> </tr> <tr> <td colspan="2" class="cmd">\setupcombination<span class="second">[''name Named combinations are defined with {{cmd|definecombination}}'']</span><span class="first" >[...,...=...,...]</span></td>
</tr>
<tr valign="top" class="firstsecond">
<td class="cmd">[[Command/keyword:before|before]]</td>
<td>[[Command/value:command|''command'']] </td> <td>to be executed before each item-caption pair</td>
</tr>
<tr valign="top" class="firstsecond">
<td class="cmd">[[Command/keyword:nx|nx]]</td>
<td>[[Command/value:nx|''number'']] </td> <td>of columns in the combination (default: 2)</td>
</tr>
<tr valign="top" class="firstsecond">
<td class="cmd">[[Command/keyword:ny|ny]]</td>
<td>[[Command/value:ny|''number'']] </td> <td>of rows in the combination (default: as many as needed)</td>
</tr>
<tr valign="top" class="firstsecond">
<td class="cmd">[[Command/keyword:inbetween|inbetween]]</td>
<td>[[Command/value:command|''command'']] </td> <td>to be executed between each item and its caption</td>
</tr>
<tr valign="top" class="firstsecond">
<td class="cmd">[[Command/keyword:after|after]]</td>
<td>[[Command/value:command|''command'']] </td> <td>to be executed after each item-caption pair</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd" rowspan="2">[[Command/keyword:distancealternative|distancealternative]]</td> <td>[[Commandtext</value:dimension|dimension]] td> <td>interpret every second item in the combination as a caption</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Command/keyword:height|height]]label</td> <td>[[Command/value:dimension|dimension]] [[Command/value:fit|fit]] interpret every item as a figure; labels are automatically added.</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd" rowspan="2">[[Command/keyword:widthcontinue|widthcontinue]]</td> <td>[[Commandyes</value:dimension|dimension]] [[Command/value:fit|fit]] td> <td>If alternative=label, label numbers (i.e. subfigure numbers) do not reset at the start of each combination</td>
</tr>
<tr valign="top" class="firstsecond"> <td class="cmd">[[Command/keyword:location|location]]no</td> <td>[[Command/value:top|top]] [[Command/value:middle|middle]] [[Command/value:bottom|bottom]] [[Command/value:left|left]] [[Command/value:right|right]] If alternative=label, label numbers reset at the start of each new combination</td>
</tr>
<tr valign="top" class="first"> <td class="cmd">[[Command/keyword: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"table>[[Command/keyword:color|color]]</td> <td>[[Command/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
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.)
 
== 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
{{Forum|{{SUBPAGENAME}}}}
[[Category:Command/Floating|setupcombinationssetupcombination]]

Navigation menu