ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tomas Hala <tomas.hala@mendelu.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Writing the caption above figures in combinations
Date: Mon, 1 Jun 2020 14:51:58 +0200	[thread overview]
Message-ID: <20200601125158.GB3122@akela.mendelu.cz> (raw)
In-Reply-To: <8144DF20-4BB2-4048-AC0D-659366FEC72E@gmail.com>

Hi Otared,

maybe there is a better, more system solution, but the following works:

\setupcaptions[figure][location=bottom]
\startplacefigure[title={A combination of three figures}] % this title appears below the figure
  \startcombination[3*1]
    {\framed[width=4cm]{a}}{\externalfigure[image-1.pdf][width=4cm]} % a appears above image-1
    {\framed[width=4cm]{b}}{\externalfigure[image-2.pdf][width=4cm]} % b appears above image-2
    {\framed[width=4cm]{c}}{\externalfigure[image-3.pdf][width=4cm]} % c appears above image-3
  \stopcombination}{}
\stopplacefigure

Best wishes,

Tomáš

Mon, Jun 01, 2020 ve 02:30:49PM +0200 Otared Kavian napsal(a):
# Hi all,
# 
# Is it possible to write the individual captions for each element of a combination of floats above it, while the caption for the figure appears below?
# 
# \startplacefigure[title={A combination of three figures}] % this title appears below the figure
# 	\startcombination[3*1]
# 		{\externalfigure[image-1.pdf][width=4cm]}{a} % a appears above image-1
# 		{\externalfigure[image-2.pdf][width=4cm]}{b} % b appears above image-2
# 		{\externalfigure[image-3.pdf][width=4cm]}{c} % c appears above image-3
# 	\stopcombination}{}
# \stopplacefigure
# 
# I tried to define a new float, say myfigure, which has captions below and then I tried 
# 
# \setupcaptions[location=top] 
# 
# and 
# 
# \setupcombinations[location=top]
# 
# but this does not work…
# 
# Thanks for any help: Otared
# ___________________________________________________________________________________
# 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
# ___________________________________________________________________________________

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

  reply	other threads:[~2020-06-01 12:51 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 [this message]
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

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=20200601125158.GB3122@akela.mendelu.cz \
    --to=tomas.hala@mendelu.cz \
    --cc=ntg-context@ntg.nl \
    /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).