ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Nested floatcombinations
@ 2016-03-30 10:13 Aidan Nichol
  0 siblings, 0 replies; only message in thread
From: Aidan Nichol @ 2016-03-30 10:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Based on answers to previous questions the easiest way to arrange figures on a page in a simple tabular arrangement is to use \startfloatcombination etc. and indeed works well

I wanted to get a single tall figure on the left and two on the right above one another. I tried nesting i.e.

\setupexternalfigures[location={default}]

\definefloat[floatA][floatAs]
\definefloat[floatB][floatBs]
\setupcaption[floatA][number=yes,location=top]
\setupcaption[floatB][number=no]

\starttext

\startplacefloatA[title={Using figures in nested float combinations}]
  \startfloatcombination[nx=2,ny=1]
    \startplacefigure[title={left two rows}]
      \externalfigure[mill][height=4in]
    \stopplacefigure
    \startplacefloatB
      \startfloatcombination[nx=1,ny=2]
        \startplacefigure[title={right top}]
          \externalfigure[spider][height=1.5in]
        \stopplacefigure
        \startplacefigure[title={right bot}]
          \externalfigure[cow][height=1.5in]
        \stopplacefigure
      \stopfloatcombination
    \stopplacefloatB
  \stopfloatcombination
\stopplacefloatA

\stoptext

This just gave the three figures in a sort of single column down the page. 

Are nested floatcombinations not allowed or have I done it wrong?





___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2016-03-30 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30 10:13 Nested floatcombinations Aidan Nichol

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