Changes

Jump to navigation Jump to search
617 bytes added ,  13:25, 9 August 2020
m
Text replacement - "</cmd>" to "}}"
Combinations are ConTeXt's way to align several pictures (preferrably at same size):
<pretexcode>
\startcombination[x*y]
{something}{caption} ...
...
\stopcombination
</pretexcode>
means:
You define, how much figures in columns * rows you'd like to align.
You must provide one "figure something" (e.g. an <tt>\{{cmd|externalfigure</tt>}}) and a caption for every "cell".
The sample , from the manual, shows how to define a caption for the whole group and use it as float (see [[Floating Objects]]): <precontext source=yes>
\placefigure
[here] % placementoption
[fig:combinations] % reference
{An example of combination} % caption for whole group
\stopcombination
} % whole combination in braces of placefigure
</precontext>shows how == Setup == There is {{cmd|setupcombinations}} command. == Referencing == To reference a subfigure you can provide the subfigure's caption as a second parameter to define a the {{cmd|in}} command. To reference the subfigure with the caption for d you would write: <texcode>\in{figure}{d}[fig:combinations]</texcode> This would produce something like 'figure 2.4d'. The content of the second parameter simply gets appended to the whole group and use it as float (see end of the figure's reference-number, thus the example above would still work even if the caption would be 'd) An awesome subfigure'.  [[Floating ObjectsCategory:Graphics]]).

Navigation menu