Sophie

Sophie

distrib > Mandriva > 2010.2 > x86_64 > by-pkgid > a58d85af59edf7fb701c73ea3ce1c5aa > files > 55

hevea-1.10-4mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>

<META http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<META name="GENERATOR" content="hevea 1.10">
<META name="Author" content="Luc Maranget">
<LINK rel="stylesheet" type="text/css" href="manual.css">
<TITLE>Lining It Up in Columns</TITLE>
</HEAD>
<BODY >
<A HREF="manual031.html"><IMG SRC="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual022.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="manual033.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
<HR>
<H2 CLASS="section"><A NAME="htoc98">B.10</A>&#XA0;&#XA0;Lining It Up in Columns</H2><UL>
<LI><A HREF="manual032.html#toc77">The <TT>tabbing</TT> Environment</A>
</LI><LI><A HREF="manual032.html#toc78">The <TT>array</TT> and <TT>tabular</TT>
environments</A>
</LI></UL>
<H3 CLASS="subsection"><A NAME="toc77"></A><A NAME="htoc99">B.10.1</A>&#XA0;&#XA0;The <TT>tabbing</TT> Environment</H3><P>
Limited support is offered.
The <TT>tabbing</TT> environment translate to a flexible <TT>tabular</TT>-like
environment.
Inside this environment, the command <CODE>\kill</CODE> ends a row, while
commands
<CODE>\=</CODE> and <CODE>\&gt;</CODE> start a new column.
All other tabbing commands do not even exist.</P><H3 CLASS="subsection"><A NAME="toc78"></A><A NAME="htoc100">B.10.2</A>&#XA0;&#XA0;The <TT>array</TT> and <TT>tabular</TT>
environments</H3><P><A NAME="arraydef"></A></P><P>These environments are supported, using HTML
<CODE>TABLE</CODE> element, rendering is satisfactory in most (not too
complicated) cases.
By contrast with L<sup>A</sup>T<sub>E</sub>X,
some of the array items always are typeset in display mode.
Whether an array item is typeset in display mode or not depends upon
its column specification,
the <CODE>l</CODE>, <CODE>c</CODE> and&#XA0;<CODE>r</CODE> specifications open display mode
while the remaining <CODE>p</CODE> and <CODE>@</CODE> do not.
The <CODE>l</CODE>, <CODE>c</CODE>,<CODE>r</CODE> and&#XA0;<CODE>@</CODE> specifications
disable word wrap, while the <CODE>p</CODE>&#XA0;specification enables it.</P><P>Entries in a column whose specification is <CODE>l</CODE> (resp. <CODE>c</CODE> or
<CODE>r</CODE>) get left-aligned (resp. centered or right-aligned)
in the horizontal direction.
They will get top-aligned in the vertical direction if there are
other column specifications in the
same array that specify vertical alignement constraints
(such as <CODE>p{</CODE><I>wd</I><CODE>}</CODE>, see below).
Otherwise, vertical alignement is unspecified.</P><P>Entries in a column whose specification is <CODE>p{</CODE><I>wd</I><CODE>}</CODE>
get left-aligned in the horizontal direction and
top-aligned in the vertical direction
and a paragraph break reduces to one line break inside them.
This is the only occasion where
H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A makes a distinction between LR-mode and paragraph mode.
Also observe that the length argument <I>wd</I> to the <CODE>p</CODE>
specification is ignored.</P><P>Some L<sup>A</sup>T<sub>E</sub>X array features are not supported at all:
</P><UL CLASS="itemize"><LI CLASS="li-itemize">
Optional arguments to <CODE>\begin{array}</CODE> and
<CODE>\begin{tabular}</CODE> are ignored.
</LI><LI CLASS="li-itemize">The command <CODE>\vline</CODE> does not exists.
</LI></UL><P>Some others are partly rendered:
</P><UL CLASS="itemize"><LI CLASS="li-itemize">
Spacing between columns is different.
</LI><LI CLASS="li-itemize"><CODE>@</CODE> formatting specifications in <CODE>\multicolumn</CODE>
argument are ignored.
</LI><LI CLASS="li-itemize">If a <CODE>|</CODE> appears somewhere in the column formatting
specification, then the array is shown with borders.
</LI><LI CLASS="li-itemize">The command <CODE>\hline</CODE> does nothing if the array has borders
(see above). Otherwise, an horizontal rule is outputed.
</LI><LI CLASS="li-itemize">The command <CODE>\cline</CODE> ignores its argument and is equivalent
to <CODE>\hline</CODE>.
</LI><LI CLASS="li-itemize">Similarly the command
<CODE>\extracolsep</CODE> issues a warning and ignores its argument.
</LI></UL><P>
Additionally, the <CODE>tabular*</CODE> environment is
recognized and gets renderered as an HTML table with an advisory
width attribute.</P><P>By default, H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A implements the <TT>array</TT> package
(see [<A HREF="manual047.html#latexbis">L<sup>A</sup>T<sub>E</sub>X-bis</A>, Section&#XA0;5.3] and section&#XA0;<A HREF="manual-packages.html#arraypack">B.17.2</A> in this
document), which significantly extends the
<CODE>array</CODE> and <CODE>tabular</CODE> environments.</P><HR>
<A HREF="manual031.html"><IMG SRC="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual022.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="manual033.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>