ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: Otared Kavian <otared@gmail.com>
Cc: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Writing the caption above figures in combinations
Date: Tue, 2 Jun 2020 06:09:15 +0200	[thread overview]
Message-ID: <1bdbb59a-4a50-9244-7388-ed4a0484b771@gmail.com> (raw)
In-Reply-To: <F7EE6CCC-2218-44C4-8EBC-9A625AB82009@gmail.com>

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@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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2020-06-02  4:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01 12:30 Otared Kavian
2020-06-01 12:51 ` Tomas Hala
2020-06-01 14:58   ` Otared Kavian
2020-06-01 19:05     ` Tomas Hala
2020-06-01 21:11       ` Otared Kavian
2020-06-01 19:23 ` Wolfgang Schuster
     [not found]   ` <F7EE6CCC-2218-44C4-8EBC-9A625AB82009@gmail.com>
2020-06-02  4:09     ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1bdbb59a-4a50-9244-7388-ed4a0484b771@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=otared@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).