ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to place figures & captions to some non-standard places?
@ 2006-07-25 16:15 Mojca Miklavec
  2006-07-26  8:33 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Mojca Miklavec @ 2006-07-25 16:15 UTC (permalink / raw)


Hello,

Is it possible to do the following with ConTeXt?

1. Figure is \textwidth wide, the caption is placed in the margin
right or left to the figure (depending on left/right page)

2. Figure is less than \textwidth wide, it's placed on the inner side
of "text", caption is on the outer side (top/middle or bottom-aligned,
depending on user specification)

3. Figure is wider than textwidth, it's centered on "text+margin",
caption below the figure (taking the same width as the figure itself)

4. figure and caption are both in the margin (outer or inner side of
margin, depending on user request), caption takes all the available
width of the margin

5. almost the same feature as \startfiguretext, except that the figure
extends to the outer part of the margin, while texts floats around the
figure (still only max. \texwidth wide).

(It does not need to be automatic, just that it could be specified for
a single figure where to place it and where to place the caption.)

Mojca

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

* Re: How to place figures & captions to some non-standard places?
  2006-07-25 16:15 How to place figures & captions to some non-standard places? Mojca Miklavec
@ 2006-07-26  8:33 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-07-26  8:33 UTC (permalink / raw)


Mojca Miklavec wrote:
> Hello,
>
> Is it possible to do the following with ConTeXt?
>
> 1. Figure is \textwidth wide, the caption is placed in the margin
> right or left to the figure (depending on left/right page)
>
> 2. Figure is less than \textwidth wide, it's placed on the inner side
> of "text", caption is on the outer side (top/middle or bottom-aligned,
> depending on user specification)
>
> 3. Figure is wider than textwidth, it's centered on "text+margin",
> caption below the figure (taking the same width as the figure itself)
>
> 4. figure and caption are both in the margin (outer or inner side of
> margin, depending on user request), caption takes all the available
> width of the margin
>
> 5. almost the same feature as \startfiguretext, except that the figure
> extends to the outer part of the margin, while texts floats around the
> figure (still only max. \texwidth wide).
>
> (It does not need to be automatic, just that it could be specified for
> a single figure where to place it and where to place the caption.)
>   
most of that is doable, see details.pdf 

comes down to cloning floats and setting up captions 

Hans 

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

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

end of thread, other threads:[~2006-07-26  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25 16:15 How to place figures & captions to some non-standard places? Mojca Miklavec
2006-07-26  8:33 ` Hans Hagen

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