File: manual025.html

package info (click to toggle)
hevea-doc 1.07-1
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 632 kB
  • ctags: 449
  • sloc: makefile: 32
file content (114 lines) | stat: -rw-r--r-- 5,335 bytes parent folder | download
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
<!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=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.07">
<META name="Author" content="Luc Maranget">
<TITLE>
Lining It Up in Columns
</TITLE>
</HEAD>
<BODY TEXT=black BGCOLOR=white>
<A HREF="manual024.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual015.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="manual026.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>
<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD BGCOLOR="#2de52d"><DIV ALIGN=center><TABLE>
<TR><TD><FONT SIZE=5><B><A NAME="htoc86">B.10</A></B></FONT></TD>
<TD WIDTH="100%" ALIGN=center><FONT SIZE=5><B>Lining It Up in Columns</B></FONT></TD>
</TR></TABLE></DIV></TD>
</TR></TABLE><UL>
<LI><A HREF="manual025.html#toc66">The <TT>tabbing</TT> Environment</A>
<LI><A HREF="manual025.html#toc67">The <TT>array</TT> and <TT>tabular</TT>
environments</A>
</UL>

<A NAME="toc66"></A><TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD BGCOLOR="#66ff66"><DIV ALIGN=center><TABLE>
<TR><TD><FONT SIZE=4><B><A NAME="htoc87">B.10.1</A></B></FONT></TD>
<TD WIDTH="100%" ALIGN=center><FONT SIZE=4><B>The <TT>tabbing</TT> Environment</B></FONT></TD>
</TR></TABLE></DIV></TD>
</TR></TABLE>
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.<BR>
<BR>
<A NAME="toc67"></A><TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD BGCOLOR="#66ff66"><DIV ALIGN=center><TABLE>
<TR><TD><FONT SIZE=4><B><A NAME="htoc88">B.10.2</A></B></FONT></TD>
<TD WIDTH="100%" ALIGN=center><FONT SIZE=4><B>The <TT>array</TT> and <TT>tabular</TT>
environments</B></FONT></TD>
</TR></TABLE></DIV></TD>
</TR></TABLE><A NAME="arraydef"></A><BR>
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&nbsp;<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&nbsp;<CODE>@</CODE> specifications
disable word wrap, while the <CODE>p</CODE>&nbsp;specification enables it.<BR>
<BR>
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.<BR>
<BR>
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.<BR>
<BR>
Some L<sup>A</sup>T<sub>E</sub>X array features are not supported at all:
<UL><LI>
Optional arguments to <CODE>\begin{array}</CODE> and
<CODE>\begin{tabular}</CODE> are ignored.
<LI>The command <CODE>\vline</CODE> does not exists.
</UL>
Some others are partly rendered:
<UL><LI>
Spacing between columns is different.
<LI><CODE>@</CODE> formatting specifications in <CODE>\multicolumn</CODE>
argument are ignored.
<LI>If a <CODE>|</CODE> appears somewhere in the column formatting
specification, then the array is shown with borders.
<LI>The command <CODE>\hline</CODE> does nothing if the array has borders
(see above). Otherwise, an horizontal rule is outputed.
<LI>The command <CODE>\cline</CODE> ignores its argument and is equivalent
to <CODE>\hline</CODE>.
<LI>Similarly the command
<CODE>\extracolsep</CODE> issues a warning and ignores its argument.
</UL>
Additionally, the <CODE>tabular*</CODE> environment is
recognized and gets renderered as an HTML table with an advisory
width attribute.<BR>
<BR>
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 [<CITE><A HREF="manual050.html#latexbis">L<sup>A</sup>T<sub>E</sub>X-bis</A>, Section&nbsp;5.3</CITE>] and section&nbsp;<A HREF="manual034.html#arraypack">B.17.2</A> in this
document), which significantly extends the
<CODE>array</CODE> and <CODE>tabular</CODE> environments.<BR>
<BR>
<HR>
<A HREF="manual024.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual015.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="manual026.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>