Difference between revisions of "Command/startcombination"

From ConTeXt wiki
Jump to navigationJump to search
(Improve synopsis, description, example, See Also)
m (source=yes)
Line 21: Line 21:
 
== Example ==
 
== Example ==
  
<context>
+
<context source=yes>
 
\setupexternalfigures[location={local, default}]
 
\setupexternalfigures[location={local, default}]
 
\placefigure
 
\placefigure

Revision as of 19:25, 25 May 2012

\startcombination

Syntax

\startcombination[r*c] ... \stopcombination
[r*c] rows * columns

Description

A combination is a number of objects arranged in a matrix, with a caption below each object. (The captions may be empty.)

Example

\setupexternalfigures[location={local, default}]
\placefigure
    [here]                                       % figure placement
    [fig:combinations]                           % figure reference
    {An example of \type{\startcombination...}.} % figure caption
    {\startcombination[3*2]                      % contents of the figure: a combination
        % first row
        {\externalfigure[cow][height=1cm]} {a}   % subfigure and subcaption
        {\externalfigure[cow][height=1cm]} {b}
        {\externalfigure[cow][height=1cm]} {c} 
        % second row
        {\externalfigure[cow][height=1cm]} {d}
        {\externalfigure[cow][height=1cm]} {e} 
        {\externalfigure[cow][height=1cm]} {f}
     \stopcombination}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: