Difference between revisions of "Combinations"
Jump to navigation
Jump to search
m (as always forgot links to parent page) |
m (changed pre to texcode and tt to cmd) |
||
Line 3: | Line 3: | ||
Combinations are ConTeXt's way to align several pictures (preferrably at same size): | Combinations are ConTeXt's way to align several pictures (preferrably at same size): | ||
− | < | + | <texcode> |
\startcombination[x*y] | \startcombination[x*y] | ||
{something}{caption} ... | {something}{caption} ... | ||
... | ... | ||
\stopcombination | \stopcombination | ||
− | </ | + | </texcode> |
means: | means: | ||
You define, how much figures in columns * rows you'd like to align. | You define, how much figures in columns * rows you'd like to align. | ||
− | You must provide one "figure something" (e.g. an < | + | You must provide one "figure something" (e.g. an <cmd>externalfigure</cmd>) and a caption for every "cell". |
The sample from the manual: | The sample from the manual: | ||
− | < | + | <texcode> |
\placefigure | \placefigure | ||
[here] % placement | [here] % placement | ||
Line 28: | Line 28: | ||
\stopcombination | \stopcombination | ||
} % whole combination in braces of placefigure | } % whole combination in braces of placefigure | ||
− | </ | + | </texcode> |
shows how to define a caption for the whole group and use it as float (see [[Floating Objects]]). | shows how to define a caption for the whole group and use it as float (see [[Floating Objects]]). |
Revision as of 11:11, 2 September 2004
< Graphics, Using Graphics | Tables >
Combinations are ConTeXt's way to align several pictures (preferrably at same size):
\startcombination[x*y] {something}{caption} ... ... \stopcombination
means:
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:
\placefigure [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} \stopcombination } % whole combination in braces of placefigure
shows how to define a caption for the whole group and use it as float (see Floating Objects).