Command/setupcombination

From Wiki
< Command
Revision as of 08:06, 29 June 2020 by Taco (talk | contribs) (clean up page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\setupcombination

Syntax (autogenerated)

\setupcombination[...,...][...=...,...]
[...,...]name
nxnumber
nynumber
widthfit dimension
heightfit dimension
locationleft middle right top bottom
distancedimension
alternativelabel text
alignsee \setupalign
continueyes no
beforecommand
aftercommand
inbetweencommand
stylestyle command
colorcolor


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

Help from ConTeXt-Mailinglist/Forum

All issues with: