From: Nicolas Luchier <nicolas.luchier@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: combination
Date: Thu, 29 Jan 2009 10:17:12 +0100 [thread overview]
Message-ID: <AABB695A-8C25-46B8-89B3-F9D183BFE9B7@cea.fr> (raw)
In-Reply-To: <FD8FA24B-75B8-44D5-9C81-9A8FF298D385@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2442 bytes --]
Hi,
The solution works indeed. Thanks to all of you. There is a related
refinement I'd like but don't know Context enough to bring by myself:
\starttext
This is a combination of 3 figures on two lines
\placefigure{none}
{
\midaligned{
\startcombination[1*2]
{\startcombination[2*1]
{}{}
{}{}
\stopcombination}
{\externalfigure[cow.jpg][width=some width]}{some blabla}
\stopcombination
}
}
\stoptext
On the third figure: is there a mean to set the width of 'some blabla'
equal to the width of the figure.
Best regards,
Nicolas
Le 29 Jan 2009 à 09:53, Otared Kavian a écrit :
>
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 6613 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-01-29 9:17 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 ` combination Otared Kavian
2009-01-29 9:17 ` Nicolas Luchier [this message]
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=AABB695A-8C25-46B8-89B3-F9D183BFE9B7@cea.fr \
--to=nicolas.luchier@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).