ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: how to place figures next to each other
Date: Tue, 29 Mar 2005 00:59:02 +0200	[thread overview]
Message-ID: <42488C36.6040103@wxs.nl> (raw)
In-Reply-To: <424434F3.7010209@orgelvlaardingen.nl>

Peter wrote:
> Peter wrote:
> 
>> How can I place two figures next to each other without using a 
>> \startcombination ... \stopcombination group?
>>
>> I now have this, but it is not what I want:
>>
>> \gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
>> \gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
>> \plaatsfiguur
>>     [hier]
>>     [fig:klavieren]
>>     {Enkele varianten van het groot octaaf}
>>     {\startcombinatie[2*1]
>>     {\kortoctaaf}{kort octaaf}
>>     {\gebrokenoctaaf}{gebroken octaaf}
>>     \stopcombinatie}
>>
>> I want to have the two figures numbered as seperate, independent 
>> figures, but when using a combination, the whole combination is 
>> treated as one figure and gets only one number and one label.
>>
>> XXXX      XXXX
>> X  X      X  X
>> XXXX      XXXX
>>
>> fig.n      fig.n+1
>>
>> I've consulted the manuals and searched the list archives, but I have 
>> not found a solution.
>>
>> tnx in advance,
>>
> 
> I now know how to suppress the caption of the combination. By using the 
> option "none".
> Now I have to generate the captions of the two figures with the correct 
> numbers and the reference-labels by hand. So my questions:
> - How can I increment the figure counter?
> - How can I print the current figure number?
> - How can I add labels for referencing to the two figures?
> - Is there a better approach to do this?
> 
> I have two small figures. So I really want them next to each other. It's 
> a waste of space to put them underneath each other.

ok then, since no one comes to your help ...

\starttext

\placefigure
   [none]
   {}
   {\startcombination
      {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
      {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
    \stopcombination}

\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2005-03-28 22:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18 11:20 Peter
2005-03-25 15:57 ` Peter
2005-03-28 22:59   ` Hans Hagen [this message]
2005-03-29 10:25     ` Peter
  -- strict thread matches above, loose matches on Subject: below --
2005-03-18  6:05 hyphenation not working Paul Tremblay
2005-03-18  9:05 ` Hans Hagen
2005-03-19  1:01   ` Paul Tremblay
2005-03-19 11:17     ` how to place figures next to each other Peter
2005-03-20 22:35       ` Matthias Weber
2005-03-21 22:26         ` Peter

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=42488C36.6040103@wxs.nl \
    --to=pragma@wxs.nl \
    --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).