Difference between revisions of "Combinations"

From Wiki
Jump to navigation Jump to search
(\setupcombinations link added)
m (removed dublicate link)
Line 33: Line 33:
== Setup ==
== Setup ==
There is <cmd>setupcombinations</cmd> command, described [http://texshow.contextgarden.net/cmd/en/setupcombinations here].
There is <cmd>setupcombinations</cmd> command.
[[Category:Text elements]]
[[Category:Text elements]]

Revision as of 14:56, 29 March 2010

< Graphics, Using Graphics | Tables >

Combinations are ConTeXt's way to align several pictures (preferrably at same size):

{something}{caption} ...


You define, how much figures in columns * rows you'd like to align.

You must provide one "figure something" (e.g. an \externalfigure) and a caption for every "cell".

The sample from the manual:

[here] % placement
[fig:combinations] % reference
{An example of combination} % caption for whole group
\startcombination[3*2] % 3 columns, 2 rows
{\externalfigure[lb00220]} {a} {\externalfigure[lb00221]} {b} % picture and caption for two figures in first row
{\externalfigure[lb00222]} {c} {\externalfigure[lb00223]} {d}
{\externalfigure[lb00225]} {e} {\externalfigure[lb00226]} {f}
} % whole combination in braces of placefigure

shows how to define a caption for the whole group and use it as float (see Floating Objects).


There is \setupcombinations command.