Changes

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

Navigation menu