ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Columnspan in tabulate
@ 2008-09-08  7:24 Wolfgang Schuster
  2008-09-08  9:50 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2008-09-08  7:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

is it possible to support columnspan in tabulate.

\def\tabulateuse#1%
  {\dorecurse{\numexpr2*#1-1\relax}{\span}}

\setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]

\starttext

\starttable[|l|l|l|l|]
\NC a \NC b \NC c \NC d \AR
\NC 1 \NC \TWO 2  \NC 4 \AR
\stoptable

\starttabulate[|l|Bl|l|l|]
\NC a \NC b \NC c \NC d \NR
\NC 1 \NC 2 \TWO  \NC 4 \NR
\stoptabulate

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-09-09  8:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08  7:24 Columnspan in tabulate Wolfgang Schuster
2008-09-08  9:50 ` Hans Hagen
2008-09-08 10:01   ` Wolfgang Schuster
2008-09-09  6:53     ` Wolfgang Schuster
2008-09-09  8:18       ` Hans Hagen
2008-09-09  8:28         ` Marcin Borkowski
2008-09-09  8:42           ` Taco Hoekwater
2008-09-09  8:43           ` Hans Hagen

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).