[NTG-context] Writing the caption above figures in combinations
Tomas Hala
tomas.hala at mendelu.cz
Mon Jun 1 14:51:58 CEST 2020
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 at 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
# ___________________________________________________________________________________
More information about the ntg-context
mailing list