ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Roef Ragas <info@roefragas.com>
Subject: tables for invoice-style
Date: Fri, 07 Feb 2003 08:02:37 +0100	[thread overview]
Message-ID: <5.2.0.9.2.20030207080144.00c40fc0@mail.xs4all.nl> (raw)

Goodevening all,

The examples in the 'natural tables' manual are nice [although I keep
wondering why you would {\em ever} need some specimina], but what I'm
looking I'm not able to fabricate.

What I want is one line with words like invoice: date: etcetera,
and the following line will contain the proper data [like in Victor
Eijkhouts ntg-letter].

I'm not sure tables (maybe columns?) are the solution, but this is what
I've got [a portion of it] sofar. It won't work, that is: somehow I'm
not able to adjust the width of the columns? Can anybody see what's
wrong here?


\starttekst
\hbox \bgroup \ignorespaces
\bTABLE
\setupTABLE[column][1][width=1cm]
\setupTABLE[column][2][width=2cm]
\setupTABLE[column][3][width=3cm]
\setupTABLE[column][4][width=4cm]
\setupTABLE[column][5][width=10cm]
\bTR
\bTD {\ss\bf factuur:} \eTD
\bTD {\ss\bf debiteur:} \eTD
\bTD {\ss\bf betreft:} \eTD
\bTD {\ss\bf de dato:} \eTD
\bTD {\ss\bf uw kenmerk:} \eTD
\eTR

\bTR
\bTD \getvariable{factuur}{factuurnummer} \eTD
\bTD \getvariable{factuur}{debiteurnummer} \eTD
\bTD \getvariable{factuur}{betreft}\eTD
\bTD \getvariable{factuur}{werkdatum}\eTD
\bTD \getvariable{factuur}{uwkenmerk}\eTD
\eTR
\eTABLE
\unskip \egroup
\stoptekst


Furthermore this section of the Invoice-style will be followed by
figures ;-], and again my question is: should I use columns or tables
here?

Thanks in advance,

Roef Ragas

             reply	other threads:[~2003-02-07  7:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-07  7:02 Roef Ragas [this message]
2003-02-07  9:48 ` Hans Hagen
2003-02-07 10:58   ` Adam Lindsay
2003-02-07 12:04     ` 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=5.2.0.9.2.20030207080144.00c40fc0@mail.xs4all.nl \
    --to=info@roefragas.com \
    --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).