ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* float combinations
@ 2013-04-13 10:33 Robert Blackstone
  2013-04-13 11:13 ` Alan BRASLAU
  2013-04-13 22:41 ` Hans Hagen
  0 siblings, 2 replies; 15+ messages in thread
From: Robert Blackstone @ 2013-04-13 10:33 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2293 bytes --]

Dear all,
A few days ago (10 April 2013, Vol.106, Issue 25) I posted a question about giving related but not necessarily adjacent floats the same number, as for example Fig. 2a and Fig. 2b.
In the meantime I found a, not very elegant, solution that only partly satisfies me.
Here is a working example: (I trust the cow and the mill can be found).
 %---------------------------------------------------
\useexternalfigure[SmallCow][cow.pdf][height=2cm] 
\useexternalfigure[MediumCow][cow.pdf][height=3cm] 
\useexternalfigure[Mill][mill.png][height=3cm] 
\definelist[figure]
\setuplist[figure][prefix=yes,label=yes,alternative=c]

\starttext
This file is for testing the possibility of giving two related musical examples (in old and modern notation respectively) the same figure number with a. and b. as suffixes to the number proper. 

\placefigure[here][SmallCow1]{A small cow.}
{\externalfigure[SmallCow]}  

A cow again, in two sizes.

\in{Figure}[SmallCow2]a shows the same cow as \in{Figure}[SmallCow1]. 
\placefigure[here][SmallCow2]{{\bf a}. Another small cow.}
{\externalfigure[SmallCow]} 
And here a larger cow (\in{Figure}[MediumCow1]b).

\setnumber[figure][1]
\placefigure[here][MediumCow1]{{\bf b}. A larger  cow.}
{\externalfigure[MediumCow]} 

And here comes a mill.
\placefigure[here][Mill1]{A mill.}
{\externalfigure[Mill]}  

\page
{\bf List of Figures}
\placelist[figure]
\completecontent
\stoptext 

%----------------------------------------------------
This way "a" and "b" become part of the caption text, resulting in: Figure 2     a  A small ….. etc., and: Figure 2     b  A larger …etc. Likewise in the List of Figures. This is not what I would like.

Is there a possibility, when not using Combinations, to get: Figure 2a    A small …..  etc?

Wherever possible I use Combinations but in some cases examples to be combined are very different in size and shape and/or too large to fit on one page together, so that one of them gets cut off.
Is there a possibility, when using a combination of figures, to split it, in other words, to separate the figures spatially, to allow them to appear on consecutive pages, and maybe even allowing some text in between?

Thanks in advance.

Best regards, 

Robert Blackstone




[-- Attachment #1.2: Type: text/html, Size: 10630 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <mailman.394.1365915927.2084.ntg-context@ntg.nl>]
[parent not found: <mailman.389.1365852601.2084.ntg-context@ntg.nl>]
* float combinations
@ 2013-04-10  8:29 Robert Blackstone
  0 siblings, 0 replies; 15+ messages in thread
From: Robert Blackstone @ 2013-04-10  8:29 UTC (permalink / raw)
  To: ntg-context

Dear all,

I would like to have in my document floats, i.c. musical examples, that basically have the same  number, for example, Ex. 3a and Ex. 3b, with text in between and possibly not even on the same page. 

It seems that it can be done (Wiki-page Command/setupfloatsplitting) but I have no idea how to to accomplish it for figures.

Alternatively can one create a combination of two figures but separate the two elements spatially? And if so, how?
Thanks in advance for any advice.

Best regards,

Robert Blackstone
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-04-14 12:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-13 10:33 float combinations Robert Blackstone
2013-04-13 11:13 ` Alan BRASLAU
2013-04-13 12:27   ` Marco Patzer
2013-04-13 23:04   ` Hans Hagen
2013-04-14  6:30     ` Alan BRASLAU
2013-04-14  8:55       ` Hans Hagen
2013-04-14 10:59         ` Alan BRASLAU
2013-04-14 11:54           ` Marco Patzer
2013-04-14 12:16             ` Alan BRASLAU
2013-04-13 22:41 ` Hans Hagen
     [not found] <mailman.394.1365915927.2084.ntg-context@ntg.nl>
2013-04-14  9:19 ` Robert Blackstone
2013-04-14  9:39 ` Robert Blackstone
     [not found] <mailman.389.1365852601.2084.ntg-context@ntg.nl>
2013-04-13 13:05 ` Robert Blackstone
2013-04-13 13:18   ` Marco Patzer
  -- strict thread matches above, loose matches on Subject: below --
2013-04-10  8:29 Robert Blackstone

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).