Difference between revisions of "Tabulate"

From Wiki
Jump to navigation Jump to search
m (fixed typo, emphased the "no vertical lines" hint)
m (added Category:Tables)
Line 41: Line 41:
 
\stoptabulate
 
\stoptabulate
 
</context>
 
</context>
 +
 +
[[Category:Tables]]

Revision as of 15:12, 19 January 2006

< Tables Overview | Table >

Rather simple tabulating. You need the bars in the formatting field of \starttabulate! If you want vertical lines, you need another table mode (see Tables).

This is especially suited if you want to have paragraphs in one (or more) of the tabulate columns.

The sample describes the formatting characters:

\starttabulate[|l|l|]
\HL
\NC format	\NC meaning	\NC\NR
\HL
\NC c		\NC centered	\NC\NR
\NC l		\NC left aligned	\NC\NR
\NC r		\NC right aligned	\NC\NR
\NC w(1cm)	\NC one line, fixed width	\NC\NR
\NC p(2cm)	\NC paragraph, lines broken to fixed width	\NC\NR
% You can leave out the \NC before \NR
\HL
\stoptabulate
  • HL is horizontal line
  • NC is new column (or new cell)
  • NR is new row

The sample looks like this: