From: Alexey Kryukov <anagnost@yandex.ru>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Some questions on float combinations
Date: Tue, 7 Jan 2014 20:13:43 +0400 [thread overview]
Message-ID: <20140107201343.b9bc9d9483a84bb65f1c48a0@yandex.ru> (raw)
In-Reply-To: <52CA88E7.6080304@wxs.nl>
On Mon, 06 Jan 2014 11:43:51 +0100
Hans Hagen wrote:
> It all depends on it being floats or not (floatign indeed). One
> option is to package a set of floats in a bTABLE .. eTABLE and put
> a..z subcaptions under it that way and then have the whole as a float
Well, I actually don't need floats, because each image has a fixed
position. However the problem is to get captions properly formatted and
numbered. Again, in LaTeX it would be easy to output captions
separately from the corresponding images, but I haven't found how to do
that in ConTeXt. That's what causes me to use floats (and pack them
into floatcombinations if necessary).
> anyway ... you have more chance onan answer if you provide small
> examples
My code currently looks like the following:
\defineparagraphs[DoubleL][n=2]
\starttext
\centerline{\rotate[rotation=90]{
\startDoubleL
\placefigure[force]
{My first caption}
{\externalfigure[dummy][width=1in,height=3in]}
\nextDoubleL
\placefigure[force]
{My second caption}
{\externalfigure[dummy][width=1in,height=1in]}
\placefigure[force]
{My third caption}
{\externalfigure[dummy][width=1in,height=1in]}
\stopDoubleL
}}
\stoptext
As I have explained, this works, but it would prefer to use a
floatcombination syntax to describe this type of layout just like I
would use it for two images placed side-by-side. I. e. it would be nice
if ConTeXt supported something like the following:
\startfloatcombination[2*1]
\placefigure[force]
{My first caption}
{\externalfigure[dummy][width=1in,height=3in]}
\startfloatcombination[1*2]
\placefigure[force]
{My second caption}
{\externalfigure[dummy][width=1in,height=1in]}
\placefigure[force]
{My third caption}
{\externalfigure[dummy][width=1in,height=1in]}
\stopfloatcombination
\stopfloatcombination
Another small problem is that combinations and floatcombinations,
unlike single floats, have no 'rotation' parameter, so that I have to
embed them into a rotation command. This seems just a bit inconsistent.
--
Regards,
Alexey Kryukov <anagnost at yandex dot ru>
Moscow State University
Faculty of History
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2014-01-07 16:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-03 19:17 Alexey Kryukov
2014-01-06 10:43 ` Hans Hagen
2014-01-07 16:13 ` Alexey Kryukov [this message]
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=20140107201343.b9bc9d9483a84bb65f1c48a0@yandex.ru \
--to=anagnost@yandex.ru \
--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).