ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* floats side by side
@ 2020-08-08 15:51 Henning Hraban Ramm
  2020-08-08 16:32 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-08-08 15:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello again,

I need to place several figures side by side (e.g. pictures of persons).
I know I can use combinations, but I need the figures with captions included in the usual numbering of figures and not one number & caption for the combination.
How can I achieve this?

Best, Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: floats side by side
  2020-08-08 15:51 floats side by side Henning Hraban Ramm
@ 2020-08-08 16:32 ` Wolfgang Schuster
  2020-08-08 20:36   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-08-08 16:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm schrieb am 08.08.2020 um 17:51:
> Hello again,
> 
> I need to place several figures side by side (e.g. pictures of persons).
> I know I can use combinations, but I need the figures with captions included in the usual numbering of figures and not one number & caption for the combination.
> How can I achieve this?

Use a float combination:

\useMPlibrary[dum]

\starttext

\input ward

\startplacefigure[title={Dummy}]
     \externalfigure[dummy]
\stopplacefigure

\input jojomayer

\startplacefigure[location=none]
     \startfloatcombination[2*1]
         \startplacefigure[title={Left dummy}]
             \externalfigure[dummy]
         \stopplacefigure
         \startplacefigure[title={Right dummy}]
             \externalfigure[dummy]
         \stopplacefigure
     \stopfloatcombination
\stopplacefigure

\input weisman

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: floats side by side
  2020-08-08 16:32 ` Wolfgang Schuster
@ 2020-08-08 20:36   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-08-08 20:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 08.08.2020 um 18:32 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
> 
> Henning Hraban Ramm schrieb am 08.08.2020 um 17:51:
>> Hello again,
>> I need to place several figures side by side (e.g. pictures of persons).
>> I know I can use combinations, but I need the figures with captions included in the usual numbering of figures and not one number & caption for the combination.
>> How can I achieve this?
> 
> Use a float combination:
> 
> \startplacefigure[location=none]
>    \startfloatcombination[2*1]
>        \startplacefigure[title={Left dummy}]
>            \externalfigure[dummy]
>        \stopplacefigure
>        \startplacefigure[title={Right dummy}]
>            \externalfigure[dummy]
>        \stopplacefigure
>    \stopfloatcombination
> \stopplacefigure

Thank you very much!

It works like it should.

I learn something new about ConTeXt every day.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-08 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-08 15:51 floats side by side Henning Hraban Ramm
2020-08-08 16:32 ` Wolfgang Schuster
2020-08-08 20:36   ` 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).