[NTG-context] Writing the caption above figures in combinations

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Jun 2 06:09:15 CEST 2020


Otared Kavian schrieb am 01.06.2020 um 23:14:
> Hi Wolfgang,
>
> Thank you for your input. Since I don't know how to use figures in tables I am going to use the solution sent by Tomáš Hala which works fine with what I needed today. Later on maybe I will ask you for insight regarding using tables for figures.
>
> Best regards: Otared K.
>
>> On 1 Jun 2020, at 21:23, Wolfgang Schuster <wolfgang.schuster.lists at gmail.com> wrote:
>>
>> Otared Kavian schrieb am 01.06.2020 um 14:30:
>>> […]
>> The label position in combinations is fixed and the easiest way to create your own combination is to use a table.
>>
>> Wolfgang

Combinations are tables as well but the input is different because 
everything is hidden.


\starttext

\startplacefigure[title={A combination of three figures}]
     \startcombination[3*1]
         {\externalfigure[image-1.pdf][width=4cm]}{a}
         {\externalfigure[image-2.pdf][width=4cm]}{b}
         {\externalfigure[image-3.pdf][width=4cm]}{c}
     \stopcombination
\stopplacefigure

\startplacefigure[title={A combination of three figures}]
     \bTABLE[frame=off,align=middle,offset=0pt,columndistance=1em]
         \bTR
             \bTD a \eTD
             \bTD b \eTD
             \bTD c \eTD
         \eTR
         \bTR
             \bTD \externalfigure[image-1.pdf][width=4cm] \eTD
             \bTD \externalfigure[image-2.pdf][width=4cm] \eTD
             \bTD \externalfigure[image-3.pdf][width=4cm] \eTD
         \eTR
     \eTABLE
\stopplacefigure

\stoptext

Wolfgang



More information about the ntg-context mailing list