ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Subject: Re: combination
Date: Thu, 29 Jan 2009 09:39:04 +0100	[thread overview]
Message-ID: <200901290939.04414.alan.braslau@cea.fr> (raw)
In-Reply-To: <8AE96173-E791-4E33-9D67-BE085F1F33CC@uni-bonn.de>

On Thursday 29 January 2009 09:09:31 Thomas A. Schmitz wrote:
> On Jan 28, 2009, at 3:14 PM, Nicolas Luchier wrote:
> > I have 3 figures to put into combination 2*2. The way it is handle  
> > it that the third figure is place below the first one, which is  
> > quite logical. I'd rather have it centered in the second row. Is  
> > there any mean to do this ? I didn't find a clue anywhere.
> 
> As long as 2*2~=3, this will not be possible. I would do (pseudo-code,  
> untested)
> 
> \startcombination[1*2]
> 	\startcombination[2*1]
> 		<figure 1>
> 		<figure 2>
> 	\stopcombination
> 	<figure 3>
> \stopcombination

Tested:

\starttext

\startcombination[1*2]
        \startcombination[2*1]
                {1}{(1)}
                {2}{(2)}
        \stopcombination
        {3}{(3)}
\stopcombination

\startcombination[2*1]
        \startcombination[2*1]
                {1}{(1)}
                {2}{(2)}
        \stopcombination
        {3}{(3)}
\stopcombination

\stoptext


The first appears to give a reasonable result,
but the second gives exactly the same as the first.
I do not believe that combinations can be recursive...

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


  reply	other threads:[~2009-01-29  8:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28 14:14 combination Nicolas Luchier
2009-01-29  8:08 ` combination Alan BRASLAU
2009-01-29  8:09 ` combination Thomas A. Schmitz
2009-01-29  8:39   ` Alan BRASLAU [this message]
2009-01-29  8:53   ` combination Otared Kavian
2009-01-29  9:17     ` combination Nicolas Luchier
2009-01-29  9:14 ` combination Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07 13:37 combination Patrick Gundlach
2003-03-07 17:36 ` combination Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200901290939.04414.alan.braslau@cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).