Difference between revisions of "Tables"

From Wiki
Jump to navigation Jump to search
m (changed pre to texcode)
m (added sample)
Line 26: Line 26:
 
\stop}
 
\stop}
 
</texcode>
 
</texcode>
 +
 +
gives:
 +
 +
<context>
 +
\placetable[here][tab:sample]{sample table}{\start
 +
\starttablehead
 +
\HL
 +
\NC command \NC meaning \NC\SR
 +
\HL
 +
\stoptablehead
 +
\starttabletail
 +
\HL
 +
\stoptabletail
 +
\starttables[|l|l|]
 +
\NC \tex{NC} \NC next column \NC\FR
 +
\NC \tex{HL} \NC horizontal line \NC\MR
 +
\NC \tex{VL} \NC vertical line \NC\MR
 +
\NC \tex{NR} \NC next row \NC\LR
 +
\HL
 +
\NC \tex{SR} \NC single row \NC\FR
 +
\NC \tex{FR} \NC first row \NC\MR
 +
\NC \tex{MR} \NC middle row \NC\MR
 +
\NC \tex{LR} \NC last row \NC\LR
 +
\stoptables
 +
\stop}
 +
</context>

Revision as of 15:10, 12 September 2004

< Tables Overview

tables mode is like table mode (and like tabulate), but you can typeset multi-page tables with repeated headers and footers.

\placetable[here][tab:sample]{sample table}{\start
\starttablehead
\HL
\NC command	\NC meaning	\NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}	\NC next column	\NC\FR
\NC \tex{HL}	\NC horizontal line	\NC\MR
\NC \tex{VL}	\NC vertical line	\NC\MR
\NC \tex{NR}	\NC next row	\NC\LR
\HL
\NC \tex{SR}	\NC single row	\NC\FR
\NC \tex{FR}	\NC first row	\NC\MR
\NC \tex{MR}	\NC middle row	\NC\MR
\NC \tex{LR}	\NC last row	\NC\LR
\stoptables
\stop}

gives: