At 08:02 AM 2/7/2003 +0100, you wrote:
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
hm, here it works although your first column is quite narrow you use english keywords in a dutch context, so change column into kolom and width into breedte how about: \setupTABLE[row] [1] [style=\ss\bf] % letter= which makes the first row cleaner: \bTR \bTD factuur: \eTD \bTD debiteur: \eTD \bTD betreft: \eTD \bTD de dato: \eTD \bTD uw kenmerk: \eTD \eTR no grouping needed, sinze the cell is basically a \framed nevertheless, i would opt for: \starttabulate[||i1|i1|i1|i1|] % \starttabulatie \NC \ss \bf factuur: \NC \ss \bf debiteur: \NC \ss \bf betreft: \NC \ss \bf de dato: \NC \ss \bf kenmerk: \NC\NR \NC test \NC another test \NC and another one \NC and one more \NC done \NC \NR \stoptabulate % \stoptabulatie (btw, some next release will have an example interface to letters and an associated database) Hans ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------