* [NTG-context] Placement of captions in a combination of figures
@ 2025-05-11 13:37 Willi Egger
2025-05-11 14:01 ` [NTG-context] " Wolfgang Schuster
2025-05-11 14:09 ` Henning Hraban Ramm
0 siblings, 2 replies; 3+ messages in thread
From: Willi Egger @ 2025-05-11 13:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
I need to place several figures into a combination. However the captions of the individual figures appear on the right side, where I would prefer them to appear at the bottom.
How to change the location of these captions?
\starttext
\startplacefigure
[location=middle,
title=,
number=]
\startcombination[2*2]
{\externalfigure[dummy][width=.5\textwidth]{a}}
{\externalfigure[dummy][width=.5\textwidth]{b}}
{\externalfigure[dummy][width=.5\textwidth]{c}}
{\externalfigure[dummy][width=.5\textwidth]{d}}
\stopcombination
\stopplacefigure
\stoptext
Best
Willi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Placement of captions in a combination of figures
2025-05-11 13:37 [NTG-context] Placement of captions in a combination of figures Willi Egger
@ 2025-05-11 14:01 ` Wolfgang Schuster
2025-05-11 14:09 ` Henning Hraban Ramm
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2025-05-11 14:01 UTC (permalink / raw)
To: ntg-context
Am 11.05.2025 um 15:37 schrieb Willi Egger:
> Hello,
>
> I need to place several figures into a combination. However the captions of the individual figures appear on the right side, where I would prefer them to appear at the bottom.
>
> How to change the location of these captions?
>
> \starttext
>
> \startplacefigure
> [location=middle,
> title=,
> number=]
> \startcombination[2*2]
> {\externalfigure[dummy][width=.5\textwidth]{a}}
You need separate arguments for the image and the caption:
{\externalfigure[dummy][width=.5\textwidth]}{a}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Placement of captions in a combination of figures
2025-05-11 13:37 [NTG-context] Placement of captions in a combination of figures Willi Egger
2025-05-11 14:01 ` [NTG-context] " Wolfgang Schuster
@ 2025-05-11 14:09 ` Henning Hraban Ramm
1 sibling, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2025-05-11 14:09 UTC (permalink / raw)
To: ntg-context
Am 11.05.25 um 15:37 schrieb Willi Egger:
> Hello,
>
> I need to place several figures into a combination. However the captions of the individual figures appear on the right side, where I would prefer them to appear at the bottom.
>
> How to change the location of these captions?
>
> \starttext
>
> \startplacefigure
> [location=middle,
> title=,
> number=]
> \startcombination[2*2]
> {\externalfigure[dummy][width=.5\textwidth]{a}}
> {\externalfigure[dummy][width=.5\textwidth]{b}}
> {\externalfigure[dummy][width=.5\textwidth]{c}}
> {\externalfigure[dummy][width=.5\textwidth]{d}}
> \stopcombination
> \stopplacefigure
> \stoptext
Hi Willi,
combinations expect two objects per image, and it usually makes sense to
use the precalculated "combination" size, i.e.
{\externalfigure[dummy][combination]}{b}
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-11 14:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-11 13:37 [NTG-context] Placement of captions in a combination of figures Willi Egger
2025-05-11 14:01 ` [NTG-context] " Wolfgang Schuster
2025-05-11 14:09 ` Henning Hraban Ramm
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).