ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to control placement of floats
@ 2005-04-19 20:49 Paul Tremblay
  2005-04-19 22:24 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Tremblay @ 2005-04-19 20:49 UTC (permalink / raw)


The manual and others have given good advice on how to do the most
basic placment of floats, such as forcing it onto a new page.

How does one get even more control. For example, if I want a
particular table to have 2 inches of space from the left margin, or if
I want to center my figures.

Thanks

Paul


-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

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

* Re: how to control placement of floats
  2005-04-19 20:49 how to control placement of floats Paul Tremblay
@ 2005-04-19 22:24 ` Hans Hagen
  2005-04-20  2:51   ` Paul Tremblay
  2005-04-20 14:18   ` Paul Tremblay
  0 siblings, 2 replies; 4+ messages in thread
From: Hans Hagen @ 2005-04-19 22:24 UTC (permalink / raw)


Paul Tremblay wrote:
> The manual and others have given good advice on how to do the most
> basic placment of floats, such as forcing it onto a new page.
> 
> How does one get even more control. For example, if I want a
> particular table to have 2 inches of space from the left margin, or if
> I want to center my figures.

see details.pdf

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] 4+ messages in thread

* Re: how to control placement of floats
  2005-04-19 22:24 ` Hans Hagen
@ 2005-04-20  2:51   ` Paul Tremblay
  2005-04-20 14:18   ` Paul Tremblay
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Tremblay @ 2005-04-20  2:51 UTC (permalink / raw)


On Wed, Apr 20, 2005 at 12:24:35AM +0200, Hans Hagen wrote:
> From: Hans Hagen <pragma@wxs.nl>
> 
> Paul Tremblay wrote:
> >The manual and others have given good advice on how to do the most
> >basic placment of floats, such as forcing it onto a new page.
> >
> >How does one get even more control. For example, if I want a
> >particular table to have 2 inches of space from the left margin, or if
> >I want to center my figures.
> 
> see details.pdf
> 

I couldn't figure out how to do what I want from this document, which
is, very detailed. (Hence: details.pdf!) Let me ask more specific
questions:

1. In order to control the placement of a float better, do I need to use

   \setupfloat[figure]
   \setupfloat[table]
   % etc

   ?

2. I want to place a table or a figure on a page. I want to move it,
say, 10 cm from the left margin. How do I do this? 

3. I want to create extra white space before and after the float. How
do I do this? 

4. Sometimes I want the text to flow around the float, and sometimes I
don't. How do I do this?

Thanks

Paul

-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

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

* Re: how to control placement of floats
  2005-04-19 22:24 ` Hans Hagen
  2005-04-20  2:51   ` Paul Tremblay
@ 2005-04-20 14:18   ` Paul Tremblay
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Tremblay @ 2005-04-20 14:18 UTC (permalink / raw)


On Wed, Apr 20, 2005 at 12:24:35AM +0200, Hans Hagen wrote:
> From: Hans Hagen <pragma@wxs.nl>
> 
> Paul Tremblay wrote:
> >The manual and others have given good advice on how to do the most
> >basic placment of floats, such as forcing it onto a new page.
> >
> >How does one get even more control. For example, if I want a
> >particular table to have 2 inches of space from the left margin, or if
> >I want to center my figures.
> 
> see details.pdf

This is the best I can come up with. This seems like a complete
hack. For one thing, the caption does not move with the graphic.

\placefigure
  [here]{Portrait of Thoreau}{\setlayer[graphics][hoffset=1in,
voffset=1in]{\externalfigure[thoreau ref]}}

Paul


-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

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

end of thread, other threads:[~2005-04-20 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 20:49 how to control placement of floats Paul Tremblay
2005-04-19 22:24 ` Hans Hagen
2005-04-20  2:51   ` Paul Tremblay
2005-04-20 14:18   ` Paul Tremblay

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