Open main menu

Changes

355 bytes added ,  21:31, 3 June 2009
m
→‎Single row columns: Added ConTeXt output
<code>\use{2}</code> or <code>\TWO</code> in the tabulate environment.
{| ! width="45%"| ! width="10%"| ! width="45%"| |- | <texcode>
\def\tabulateuse#1%
{\dorecurse{\numexpr2*#1-1\relax}{\span\omit}}
\stoptext
</texcode>
|
|<context>
\def\tabulateuse#1%
{\dorecurse{\numexpr2*#1-1\relax}{\span\omit}}
 
\appendtoks
\let\use\tabulateuse
\defineTABLEshorthands
\to \everytabulate
 
\starttext
 
\starttabulate[|l|Br|l|l|]
\NC a \NC b \NC c \NC d \NR
\NC 1 \NC 2 \TWO \NC 4 \NR
\stoptabulate
 
\stoptext
</context>
|}
=== Paragraph columns ===