Difference between revisions of "Tabulate"

From Wiki
Jump to navigation Jump to search
(pretty printing + sample)
m (fixed typo, emphased the "no vertical lines" hint)
Line 1: Line 1:
< [[Tables Overview]]
+
< [[Tables Overview]] | [[Table]] >
  
Rather simple tabulating. You ''need'' the bars in the formatting field of <cmd>starttabulate</cmd>! If you want vertical lines, you need another table mode (see [[Tables]]).
+
Rather simple tabulating. You ''need'' the bars in the formatting field of <cmd>starttabulate</cmd>! '''If you want vertical lines, you need another table mode''' (see [[Tables]]).
  
This is especially suited if you want to have paragraphs in on (or more) of the tabulate columns.
+
This is especially suited if you want to have paragraphs in one (or more) of the tabulate columns.
  
 
The sample describes the formatting characters:
 
The sample describes the formatting characters:

Revision as of 13:45, 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: