Difference between revisions of "Tables"

From Wiki
Jump to navigation Jump to search
m (changed pre to texcode)
m (fixed broken links)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
< [[Tables Overview]]
 
< [[Tables Overview]]
  
<tt>tables</tt> mode is like [[table]] mode (and like [[tabulate]]), but you can typeset multi-page tables with repeated headers and footers.
+
<tt>tables</tt> mode is like [[Table]] mode (and like [[Tabulate]]), but you can typeset multi-page tables with repeated headers and footers.
  
 +
<table><tr valign="top"><td>
 
<texcode>
 
<texcode>
 
\placetable[here][tab:sample]{sample table}{\start
 
\placetable[here][tab:sample]{sample table}{\start
Line 26: Line 27:
 
\stop}
 
\stop}
 
</texcode>
 
</texcode>
 +
</td><td>
 +
<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>
 +
</td></tr></table>
 +
 +
[[Category:Tables]]

Latest revision as of 19:14, 25 April 2007

< 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}