From: Hans Hagen <pragma@wxs.nl>
Cc: Johannes Huesing <hannes@ruhrau.de>, ntg-context@ntg.nl
Subject: Re[2]: Side-by-side floats?
Date: Wed, 18 Jul 2001 17:24:11 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20010718172014.0241af98@server-1> (raw)
In-Reply-To: <14585070.20010715120014@bigfoot.com>
At 12:00 PM 7/15/2001 +0200, Giuseppe Bilotta wrote:
>Saturday, July 14, 2001 Johannes Huesing wrote:
>
>JH> On Fri, Jul 13, 2001 at 11:59:48PM +0200, Giuseppe Bilotta wrote:
> >>
> >> Friday, July 13, 2001 Hans Hagen wrote:
> >>
> >> HH> \startcombination
> >>
> >> But don't these set a single caption for both tables?
> >>
>
>JH> They set a single caption for each figure. You can put the
>\startcombination
>JH> and \stopcombination within the argument of \placefigure if you want the
>JH> whole thing to float, but you can set the caption argument of \placefigure
>JH> to {none} to avoid a common caption. Unfortunately, you will lose the
>JH> ability to assign a number to each of your members of the combination.
>
>But the latter (one number for each) is one of the things I want.
Ah, how demanding. how about:
\starttext
\startbuffer
\startcombination
{\externalfigure[koe.pdf][height=1cm,width=5cm]}
{\placefloatcaption[figure]{Just a cow}}
{\externalfigure[koe.pdf][height=1cm,width=5cm]}
{\placefloatcaption[figure]{Just another cow}}
\stopcombination
\stopbuffer
\placefigure{none}{\getbuffer}
\placefigure{none}{\getbuffer}
\placefigure{none}{\getbuffer}
\placefigure{none}{\getbuffer}
\stoptext
The next piece of code should go into cont-new.tex. It is a new thing that
i needed for pop of superscaled floats [click on float and get the big one]
in a style i made recently [meant for a userguide for a blood pressure
measuring device]. As the comment says: it's experimental code.
% Quite experimental !
% the split is needed when for instance the float goes into
% a multi page field and the list of figs becomes larger than
% one page: cycle between 'only flush when object ref ok'
% and 'one/many page fig list'; see "uguide finometer"
\def\placefloatcaption
{\dodoubleempty\doplacefloatcaption}
\def\doplacefloatcaption[#1][#2]#3%
{\setfloatcaption[#1][#2]{#3}%
\placefloatcaptiontext[#1]%
\placefloatcaptionreference[#1]}
\def\setfloatcaption
{\dodoubleempty\dodosetfloatcaption} % beware, name clash
\def\dodosetfloatcaption[#1][#2]#3% to do namespace for number/ascii
{\doifelsevalue{\??kj#1\c!nummer}{\v!ja} % also handle trialtypesetting
{\verhoognummer[#1]%
\maakhetnummer[#1]%
\global\let\flhetnummer\hetnummer
\setgvalue{@fl@r@#1}%
{\dofloatreference
\redofloatorder{#1}%
\doschrijfnaarlijst{#1}{\flhetnummer}{#3}{#1}%
\doglobal\convertargument#3\to\flasciititle % \asciititle is global?
\doifsomething{#2}{\rawreference{\s!flt}{#2}{{\flhetnummer}{\flasciititle}}}%
\global\letvalue{@fl@r@#1}\relax}% nills
\setgvalue{@fl@t@#1}%
{\doattributes{\??kj#1}\c!kopletter\c!kopkleur
{\labeltexts{#1}{\flhetnummer}}%
\doattributes{\??kj#1}\c!letter\c!kleur
{\tfskip#3}}}
{\global\letvalue{@fl@r@#1}\relax
\global\letvalue{@fl@t@#1}\relax}}
\def\placefloatcaptiontext [#1]{\getvalue{@fl@t@#1}}
\def\placefloatcaptionreference[#1]{\getvalue{@fl@r@#1}}
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
next prev parent reply other threads:[~2001-07-18 15:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-12 16:43 Giuseppe Bilotta
2001-07-13 20:37 ` Hans Hagen
2001-07-13 21:59 ` Re[2]: " Giuseppe Bilotta
2001-07-14 21:08 ` Johannes Huesing
2001-07-15 10:00 ` Re[2]: " Giuseppe Bilotta
2001-07-18 15:24 ` Hans Hagen [this message]
2001-07-19 10:38 ` Re[3]: " Giuseppe Bilotta
2001-07-19 11:20 ` 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=5.1.0.14.1.20010718172014.0241af98@server-1 \
--to=pragma@wxs.nl \
--cc=hannes@ruhrau.de \
--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).