ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Context List <ntg-context@ntg.nl>
Subject: Re: Different column widths
Date: Mon, 10 May 1999 16:40:30 +0200	[thread overview]
Message-ID: <3736EFDE.9ED93FA1@wxs.nl> (raw)
In-Reply-To: <Pine.SGI.4.04.9905101008010.128881-100000@sono>

Matthew Baker wrote:

> Is it possible to set column widths for a startcolumns ... stopcolumns so
> that they are not all the same width?  What I'd like for the particular
> document I'm working on is to have 2 narrow columns at the left of the
> page and 1 or 2 wider columns taking up the rest of the page width.  The
> contents of the two left columns are pretty simple (just images) but the
> other two columns are more complex.  If this is not possible, is there
> another way of achieving the same result.  I figure something with hboxes
> and vboxes would be what I need but I'm no TeX guru.

Text in 2+1 column would be difficult for tex because the text is
already typeset when columns are split. When you want figures in the
first two, it depends on the situation. Try this: 

\starttext

\showframe

\setuplayout
  [backspace=10cm,
   leftmargin=9cm,
   leftmargindistance=.5cm,
   width=10cm]

\setupinmargin[1][width=4cm]
\setupinmargin[2][width=4cm,distance=4.5cm]

\margintext[1]{\framed[width=4cm,height=8cm,background=screen]{one}}
\margintext[2]{\framed[width=4cm,height=6cm,background=screen]{two}}

some text and some more and more

\stoptext

You can also (mis)use background and texts placement mechanisms, but as
sais, it depends on what you want to achieve. 

There is even a provisionary margin float mechanism, which I haven't
used for years -)

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


  reply	other threads:[~1999-05-10 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-10  8:13 Matthew Baker
1999-05-10 14:40 ` Hans Hagen [this message]
1999-05-10 11:42 Gilbert van den Dobbelsteen

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=3736EFDE.9ED93FA1@wxs.nl \
    --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).