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
|
<html>
<head><title>Help On LaTeX \multicolumn</title></head>
<body bgcolor="#ffffff" text="#000000" link="#000099" vlink="#cc0000" alink="#cc0000">
<h1><font size="-2">Hypertext Help with LaTeX</font><br><font color="#cc0000">\multicolumn</font></h1>
<p>
<tt>\multicolumn{cols}{pos}{text}</tt>
<p>
Used only in <a href="ltx-202.html">array</a> or
<a href="ltx-68.html">tabular</a> environments.
<p>
The <tt>\multicolumn</tt> is command is
used to make an entry that spans several columns.
<p>
It is useful for making table headings which span several columns, or
for changing the positioning of the heading for a single column (the
<tt>pos</tt> argument in <tt>\multicolumn</tt> overriding that of
the <tt>\tabular</tt> value, for example).
<p>
The first mandatory argument, <tt>cols</tt>, specifies the number of columns to
span. The second mandatory argument, <tt>pos</tt>, specifies the formatting of
the entry;
<ul>
<li>c for centered
<li>l for flushleft
<li>r for flushright
</ul>
The third mandatory argument, <tt>text</tt>,
specifies what text is to make up the entry.
<p>
<tt>\multicolumn</tt> must either begin a row or be placed immediately
after an <tt>&</tt>.
<hr>See also <A href="ltx-27.html">Environments</A>,
<a href="ltx-202.html">array</a>,
<A href="ltx-68.html">tabular</A><br>
Go to <a href="ltx-2.html">LaTeX Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 2 May 1995.
</address>
</body>
</html>
|