File: sec64.html

package info (click to toggle)
ts 9802-1
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,348 kB
  • ctags: 1,468
  • sloc: tcl: 4,567; ansic: 3,389; makefile: 88; sh: 1
file content (141 lines) | stat: -rw-r--r-- 3,535 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<html>
<head><title>tabular</title></head>
<body>
<h1>tabular</h1>
<P>

</P>

<PRE>
 &#92;begin{tabular}[pos]{cols}
 column 1 entry &#38; column 2 entry ... &#38; column n entry &#92;&#92;
 .
 .
 .
 &#92;end{tabular}
</PRE>

<P>
        or

</P>

<PRE>
 &#92;begin{tabular*}{width}[pos]{cols}
 column 1 entry &#38; column 2 entry ... &#38; column n entry &#92;&#92;
 .
 .
 .
 &#92;end{tabular*}
</PRE>

<P>
These environments produce a box consisting of a sequence of rows of
items, aligned vertically in columns.  The mandatory and optional
arguments consist of:

</P>
<DL COMPACT>

<DT><CODE>width</CODE>
<DD>
Specifies the width of the <CODE>tabular*</CODE> environment.  There must be
rubber space between columns that can stretch to fill out the specified
width.
<DT><CODE>pos</CODE>
<DD>
Specifies the vertical position; default is alignment on the centre of
the environment.


<UL>
<LI>

<CODE>t</CODE> - align on top row
<LI>

<CODE>b</CODE> - align on bottom row
</UL>

<DT><CODE>cols</CODE>
<DD>
Specifies the column formatting.  It consists of a sequence of the
following specifiers, corresponding to the sequence of columns and
intercolumn material.


<UL>

<LI>

<CODE>l</CODE> - A column of left-aligned items.
<LI>

<CODE>r</CODE> - A column of right-aligned items.
<LI>

<CODE>c</CODE> - A column of centred items.
<LI>

<CODE>|</CODE> - A vertical line the full height and depth of the environment.
<LI>

<CODE>@{text}</CODE> - This inserts <CODE>text</CODE> in every row.  An @-expression
suppresses the intercolumn space normally inserted between columns; any
desired space between the inserted text and the adjacent items must be
included in text.  An <CODE>&#92;extracolsep{wd}</CODE> command in an
@-expression causes an extra space of width <CODE>wd</CODE> to appear to the
left of all subsequent columns, until countermanded by another
<CODE>&#92;extracolsep</CODE> command.  Unlike ordinary intercolumn space, this
extra space is not suppressed by an @-expression.  An
<CODE>&#92;extracolsep</CODE> command can be used only in an @-expression in the
<CODE>cols</CODE> argument.
<LI>

<CODE>p{wd}</CODE> - Produces a column with each item typeset in a parbox of
width <CODE>wd</CODE>, as if it were the argument of a <CODE>&#92;parbox[t]{wd}</CODE>
command.  However, a <CODE>&#92;&#92;</CODE> may not appear in the item, except in the
following situations:

<OL>
<LI>

inside an environment like <CODE>minipage</CODE>, <CODE>array</CODE>, or <CODE>tabular</CODE>.
<LI>

inside an explicit <CODE>&#92;parbox</CODE>.
<LI>

in the scope of a <CODE>&#92;centering</CODE>, <CODE>&#92;raggedright</CODE>, or <CODE>&#92;raggedleft</CODE>
declaration.  The latter declarations must appear inside braces or an
environment when used in a <CODE>p</CODE>-column element.
</OL>

<LI>

<CODE>*{num}{cols}</CODE> - Equivalent to <CODE>num</CODE> copies of
<CODE>cols</CODE>, where <CODE>num</CODE> is any positive integer and <CODE>cols</CODE> is
any list of column-specifiers, which may contain another
<CODE>*-expression</CODE>.

</UL>

</DL>

<P>
These commands can be used inside a <CODE>tabular</CODE> environment:

</P>

<UL>
<LI><A href="sec65.html">&#92;cline</A>: Draw a horizontal line spanning some columns.
<LI><A href="sec66.html">&#92;hline</A>: Draw a horizontal line spanning all columns.
<LI><A href="sec67.html">&#92;multicolumn</A>: Make an item spanning several columns.
<LI><A href="sec68.html">&#92;vline</A>: Draw a vertical line.
</UL>



<p>--&gt;<a href="index.html">LaTeX index</a>
</body>
</html>