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: [ConTeXt] Boxes which commands to use
Date: Tue, 18 Jan 2000 16:41:39 +0100	[thread overview]
Message-ID: <3.0.6.32.20000118164139.013e27a0@pop.wxs.nl> (raw)
In-Reply-To: <Pine.BSF.4.10.10001181422480.43130-100000@john.physik.fu-b erlin.de>

At 02:29 PM 1/18/2000 +0100, you wrote:

>I now use: \NC #1. \NC #2 \NC \bbox{#3} \NC\NR
>But the result isn't optimal, I get:
>
>1. This is a longer ques- +--------------------+
>                          |                    |
>                          |                    |
>                          +--------------------+
>   tion.

Can you try this with \starttable instead of \starttabulate? 

You can also generate the thing yourself and say: 

\startlinecorrection
\hbox
  {\vtop{\width.3\hsize#1\vfill}%
   \vtop{#2}%
   \vtop{#3}}
\stoplinecorrection

etc. The top will align them. If needed, put the graphics in a box and play
with the dimensions: 

\def\something#1#2#3% untested 
  {\setbox\scratchbox=\hbox{graphic}
   \scratchdimen=\hsize
   \advance\scratchdimen by -wd\scratchbox
   \advance\scratchdimen by -2em 
   \divide\scratchdimen by 2 
   \hbox to \hsize
     {\vtop{\hsize\scratchdimen\begstrut#1\endstrut\vfill}\hss
      \vtop{\box\scratchbox}\hss
      \vtop{\hsize\scratchdimen\begstrut#3\endstrut\vfill}}}

I could cook up some context stuff, but have a deadline to catch now.
Alternatively use \starttable. 

If you can provide me the *minimal* set of data needed I can take a more
detailed look. 

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


  parent reply	other threads:[~2000-01-18 15:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-15 19:44 Tobias Burnus
2000-01-15 20:51 ` Tobias Burnus
2000-01-17  8:29 ` Hans Hagen
2000-01-17  9:28   ` Tobias Burnus
2000-01-17 11:49     ` Hans Hagen
2000-01-17 18:46       ` Tobias Burnus
2000-01-18 10:08         ` Hans Hagen
2000-01-18 13:29           ` Tobias Burnus
     [not found]           ` <Pine.BSF.4.10.10001181422480.43130-100000@john.physik.fu-b erlin.de>
2000-01-18 15:41             ` Hans Hagen [this message]
2000-01-18 17:15               ` Tobias Burnus
     [not found]               ` <Pine.BSF.4.10.10001181811150.45500-100000@john.physik.fu-b erlin.de>
2000-01-19 11:09                 ` Hans Hagen

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=3.0.6.32.20000118164139.013e27a0@pop.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).