* tables for invoice again
@ 2003-02-10 9:57 Roef Ragas
0 siblings, 0 replies; only message in thread
From: Roef Ragas @ 2003-02-10 9:57 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
Goodmorning,
Almost ready to send invoices to the world, the day we are all longing
for ;)
Somehow I can't get the \getvariable right within the table.
On top of the file I've got:
-snip
\setvariables
[getallen]
[uurtarief=300,
buy-out=399,
agency=20]
-snip
Then I want to use these figures, which are fictional by the way, in the
table, so I tried to incorporate them in the table with the \getvariable
command. Please look at the attached file, and tell me what I'm doing
wrong here.
Thanks,
Roef
[-- Attachment #2: table.tex --]
[-- Type: text/x-tex, Size: 1205 bytes --]
\def\bTN#1\eTN{\bTD\digits#1\relax\eTD}
\setupTABLE [breedte=3cm]
\setupTABLE[kolom] [1] [uitlijnen=rechts]
\setupTABLE[kolom] [uitlijnen=midden]
\setupTABLE[laatste][laatste][achtergrond=kleur,
achtergrondkleur=grijs,
kleur=zwart]
\setupTABLE[kolom] [1] [letter=\ss,kleur=donkergrijs]
\setupTABLE[rij] [eerste] [letter=\ss,kleur=donkergrijs]
\setupTABLE[rij] [laatste][letter=\bf]
\setupTABLE[eerste] [eerste] [kader=uit]
\bTABLE
\bTR\bTD \eTD\bTD excl. \eTD\bTD btw \eTD\bTD incl. \eTD\eTR
\bTR\bTD uurtarief \eTD\bTN \getvariable{getal}{uurtarief} \eTN\bTN 6 \% \eTN\bTN 1234,45\eTN\eTR
\bTR\bTD buy-out \eTD\bTN \getvariable{getal}{buy-out} \eTN\bTN 19 \% \eTN\bTN 123,34 \eTN\eTR
\bTR\bTD buy-out \eTD\bTN 35,- \eTN\bTN 19 \% \eTN\bTN 1,45 \eTN\eTR
\bTR\bTD agency \eTD\bTN \getvariable{getal}{agency} \eTN\bTN 19 \% \eTN\bTN 45.234,01 \eTN\eTR
\bTR\bTD \eTD\bTD \eTD\bTD TOTAAL: \eTD\bTN 100.000,- \eTN\eTR
\eTABLE
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-10 9:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10 9:57 tables for invoice again Roef Ragas
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).