ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: picture over 2 colums
Date: Thu, 16 May 2002 13:38:05 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020516132350.02cebe98@server-1> (raw)
In-Reply-To: <20020516102900Z425108-24205+51848@mail2.centrum.cz>

At 12:28 PM 5/16/2002 +0200, jendacontext@centrum.cz wrote:

>   Ahoj,
>
>   can someone help me with placing figure with text at the top or
>buttom of two-columns text?
>
>     ------------------------------
>     | -------------------------- |
>     | |                        | |
>     | |   figure with text     | |
>     | |                        | |
>     | -------------------------- |
>     | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>    | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>     ------------------------------
>
>     ------------------------------
>     | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>    | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>     | bla bla bla |  bla bla bla |
>     | -------------------------- |
>     | |                        | |
>     | |   figure with text     | |
>     | |                        | |
>     | -------------------------- |
>     ------------------------------
>
>
>I try this:
>-----------
>
>\startfiguretext[tbrl:2]{none}{\externalfigure[picture][width=1.5\textwidth]}
>Here is some text about picture. I want put this text with picture
>on the top or button of this page.
>\stopfiguretext

hm. i never tested this in column sets, use the following instead:

\definecolumnset[main][n=2,distance=.5cm]
\setuptolerance[verytolerant]

\starttext

\startcolumnset[main]

\placefigure
   [btlr]
   {none}
   {\placelegend[width=\makeupwidth,location={right,high}]
      {\externalfigure[koe.1]}
      {Here is some text about picture. I want put this
       text with picture on the top or button of this page.}}

\dorecurse{10}{\input tufte \par}

\placefigure
   [tblr]
   {none}
   {\placelegend[width=\makeupwidth,location={right,high}]
      {\externalfigure[koe.1]}
      {Here is some text about picture. I want put this
       text with picture on the top or button of this page.}}

\dorecurse{10}{\input tufte \par}

\stopcolumnset

\stoptext
-------------------------------------------------------------------------
                                   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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


  reply	other threads:[~2002-05-16 11:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 10:28 jendacontext
2002-05-16 11:38 ` Hans Hagen [this message]
2002-05-16 13:44 jendacontext
2002-05-16 14:50 jendacontext
2002-05-16 15:30 ` Hans Hagen
2002-05-17  8:38 jendacontext

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.20020516132350.02cebe98@server-1 \
    --to=pragma@wxs.nl \
    --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).