Changes

Jump to navigation Jump to search
989 bytes added ,  09:51, 11 May 2009
\dodoubleempty\parseTD#1\eTD\NC}
</texcode>
 
This is now part of the core as the [[source:tabl-nte.tex|NTE module]]. Quoting its internal documentation:
 
This module is suggested by Wolfgang Schuster who also prototyped it and came up with the rationale:
 
This module provides an easy way to use natural in a similiar way as the older table module (based on the [[TABLE]] macros) and the newer [[tabulate]] module.
 
You can see the advantage in the following table, once created with the new macros and once with the normal macros provided with the natural table module.
 
Let us start with the original macros:
 
<texcode>
\bTABLE
\bTR
\bTD Text 1 \eTD
\bTD Text 2 \eTD
\eTR
\bTR
\bTD Text 3 \eTD
\bTD Text 4 \eTD
\eTR
\eTABLE
</texcode>
 
Watch how the new macros use less code:
 
<texcode>
\startTABLE
\NC Text 1 \NC Text 2 \NC\NR
\NC Text 3 \NC Text 4 \NC\NR
\stopTABLE
</texcode>
 
The actual code differs from the prototype that it does not need to collect whole rows and parse them but looks ahead instead.
[[Category:Tables]]
[[Category:XML]]

Navigation menu