Am 16.10.2012 um 11:21 schrieb Malte Stien <ma...@stien.de>:

> Any pointers anyone? I need to get this working and am running out of ideas.

\def\startalpha
  {\dosingleempty\dostartalpha}

\def\dostartalpha[#1]#2\stopalpha
  {\iffirstargument
     \starttabulate   [#1]#2\stoptabulate
   \else
     \starttabulate[|l|p|]#2\stoptabulate
   \fi}

\def\startbeta
  {\dosingleempty\dostartbeta}

\def\dostartbeta[#1]#2\stopbeta
  {\iffirstargument
     \starttabulate   [#1][bodyfont=small]#2\stoptabulate
   \else
     \starttabulate[|l|p|][bodyfont=small]#2\stoptabulate
   \fi}

\starttext

\startalpha
\NC 1 \NC 2 \NC\NR
\stopalpha

\startalpha[|l|l|l|]
\NC 1 \NC 2 \NC 3 \NC\NR
\stopalpha

\startbeta
\NC 1 \NC 2 \NC\NR
\stopbeta

\startbeta[|l|l|l|]
\NC 1 \NC 2 \NC 3 \NC\NR
\stopbeta

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to