Command/setupcombination
Jump to navigation
Jump to search
\setupcombination
Syntax (autogenerated)
\setupcombination[...,...][...=...,...] | |
[...,...] | name |
nx | number |
ny | number |
width | fit dimension |
height | fit dimension |
location | left middle right top bottom |
distance | dimension |
alternative | label text |
align | see \setupalign |
continue | yes no |
before | command |
after | command |
inbetween | command |
style | style command |
color | color |
Settings
name | Named combinations are defined with \definecombination | |
before | command | to be executed before each item-caption pair |
nx | number | of columns in the combination (default: 2) |
ny | number | of rows in the combination (default: as many as needed) |
inbetween | command | to be executed between each item and its caption |
after | command | to be executed after each item-caption pair |
alternative | text | interpret every second item in the combination as a caption |
label | interpret every item as a figure; labels are automatically added. | |
continue | 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 |
Description
Set up the behaviour of \startcombination or \startcombination[mycombination]. These parameters may also be used ad-hoc in the options parameter of \startcombination.
Example
- Suppressing both the horizontal and vertical gap between cells:
\setupcombinations[distance=0mm,after=]
- a 10mm horizontal and vertical gap between cells:
\setupcombinations[distance=10mm,after={\blank[10mm]}]
The distance between the content and its caption entry is set with the 'inbetween' parameter.
(\setupcombinations is an alias of \setupcombination, but it looks more natural to use that when adjusting anonymous combination settings.)
See also
- \definecombination for how to create a named instance of a combination
- \startcombination for an example of
{{{1}}}
- \placefloat to float a combination
- \setuplabel to adapt a combination's automatic labels
Help from ConTeXt-Mailinglist/Forum
All issues with: