ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: combination
Date: Thu, 29 Jan 2009 09:53:42 +0100	[thread overview]
Message-ID: <FD8FA24B-75B8-44D5-9C81-9A8FF298D385@gmail.com> (raw)
In-Reply-To: <8AE96173-E791-4E33-9D67-BE085F1F33CC@uni-bonn.de>


On 29 janv. 09, at 09:09, Thomas A. Schmitz wrote:

>
> On Jan 28, 2009, at 3:14 PM, Nicolas Luchier wrote:
>
>> Hello,
>>
>> I searched the mailing archive but found nothing about my problem.
>>
>> 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.
>>
>> Thank you.
>>
>> Nicolas
>
> 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
>

Hi,

It is unfortunate that 2*2 does not equal 3, but the solution given by  
Thomas works…

\starttext
This is a combination of 3 figures on two lines
\placefigure{none}
{
\midaligned{
	\startcombination[1*2]
		{\startcombination[2*1]
			{\externalfigure[cow.jpg][width=3cm]}{}
			{\externalfigure[cow.jpg][width=3cm]}{}
		\stopcombination}
		{\externalfigure[cow.jpg][width=3cm]}{}
	\stopcombination	
	}
}

\stoptext

Best regards: OK
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2009-01-29  8:53 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   ` combination Alan BRASLAU
2009-01-29  8:53   ` Otared Kavian [this message]
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=FD8FA24B-75B8-44D5-9C81-9A8FF298D385@gmail.com \
    --to=otared@gmail.com \
    --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).