ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Two figures are side by side
@ 2014-04-16 18:16 Fabrice Couvreur
  2014-04-16 18:34 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2014-04-16 18:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 536 bytes --]

Hi,
How do the two figures are side by side ?

\setupTABLE[row][1,2][width=1.5cm,align={middle,lohi}]
\setupTABLE[c][1][width=3cm,align={middle,lohi}]
\starttext
\startcombination[2*1]
{%
\bTABLE[align={middle,lohi}]
\bTR\bTD{}\eTD\bTD{$A$}\eTD\bTD{$\overline{A}$}\eTD\bTD{Total}\eTD\eTR
\bTR\bTD{$B$}\eTD\bTD{}\eTD\bTD{}\eTD\bTD{}\eTD\eTR
\bTR\bTD{$\overline{B}$}\eTD\bTD{}\eTD\bTD{}\eTD\bTD{}\eTD\eTR
\bTR\bTD{Total}\eTD\bTD{}\eTD\bTD{}\eTD\bTD{1}\eTD\eTR
\eTABLE
}
{%
{\externalfigure[denombrement.pdf]}
}
\stopcombination
\stoptext

[-- Attachment #1.2: Type: text/html, Size: 796 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Two figures are side by side
  2014-04-16 18:16 Two figures are side by side Fabrice Couvreur
@ 2014-04-16 18:34 ` Wolfgang Schuster
  2014-04-17  7:10   ` Alan BRASLAU
  2014-04-17 15:11   ` Fabrice
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2014-04-16 18:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 481 bytes --]


Am 16.04.2014 um 20:16 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

> Hi, 
> How do the two figures are side by side ?

Each object in a combination consists of two object, (1) the image etc. and (2) the caption but in your example you have only one object where the figure acts as caption.

\startcombination[…]
  {<Place table here>}{<Insert caption for the table>}
  {<Place figure here>}{<Insert caption for the figure>}
\stopcombination

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1144 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Two figures are side by side
  2014-04-16 18:34 ` Wolfgang Schuster
@ 2014-04-17  7:10   ` Alan BRASLAU
  2014-04-17 15:11   ` Fabrice
  1 sibling, 0 replies; 4+ messages in thread
From: Alan BRASLAU @ 2014-04-17  7:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 16 Apr 2014 20:34:20 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 16.04.2014 um 20:16 schrieb Fabrice Couvreur
> <fabrice1.couvreur@gmail.com>:
> 
> > Hi, 
> > How do the two figures are side by side ?
> 
> Each object in a combination consists of two object, (1) the image
> etc. and (2) the caption but in your example you have only one object
> where the figure acts as caption.
> 
> \startcombination[…]
>   {<Place table here>}{<Insert caption for the table>}
>   {<Place figure here>}{<Insert caption for the figure>}
> \stopcombination
> 
> Wolfgang
> 

Alternatively, (but less general)

\placesidebyside
  {table here}
  {figure here}

Alan
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Two figures are side by side
  2014-04-16 18:34 ` Wolfgang Schuster
  2014-04-17  7:10   ` Alan BRASLAU
@ 2014-04-17 15:11   ` Fabrice
  1 sibling, 0 replies; 4+ messages in thread
From: Fabrice @ 2014-04-17 15:11 UTC (permalink / raw)
  To: ntg-context

Thank you very much Wolfgang,
Fabrice
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2014-04-17 15:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 18:16 Two figures are side by side Fabrice Couvreur
2014-04-16 18:34 ` Wolfgang Schuster
2014-04-17  7:10   ` Alan BRASLAU
2014-04-17 15:11   ` Fabrice

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).