At 10:35 AM 9/5/2001 +0200, Patrick Gundlach wrote:

>I wanted to do something like this:
>\def\myenv#1{\subject{#1}\starttabulate[|l|lT|]}
>\def\myrow#1#2{\NC #1 \NC #2 \NC\NR}
>\let\endmyenv=\stoptabulate
>
>so I can say
>
>\myenv{One}
>\myrow{hello}{lineone}
>\myrow{out there}{linetwo}
>\myrow{and}{linethree}
>\myrow{everything}{linefour}
>\endmyenv
>
>and that would give me a table :
>
>hello          lineone
>out there      linetwo
>and            linethree
>everything     linefour
>
>How can I accomplish this?

\definetabulate [patrick] [ some template ]

\let\somepatrick\startpatrick

\def\startpatrick#1{\subject{#1}\somepatrick}

\startpatrick
  ....
  \hisrow ...
  ....
\stoppatrick
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       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
-------------------------------------------------------------------------

Reply via email to