summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex2e-html/ltx-58.html
blob: d5624173888ef379d2938b0c549314901b21ca18 (plain)
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
<html>
<head><title>Help On LaTeX tabbing</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">tabbing</font></h1>
<p><pre>
 \begin{tabbing}
 text \= more text \= still more text \= last text \\
 second row \&gt;  \&gt; more \\
 ....
 ....
 \end{tabbing}
</pre>
 The tabbing environment  provides a way to align text in columns.   It
 works  by setting  tab stops  and tabbing  to them much the way you do
 with an ordinary typewriter.
<p>
 The <a href="ltx-68.html">tabular</a> environment also aligns text in
 columns, but there are several important differences.
 <ul>  
 <li> The tabular environment can be used in any <a href="ltx-130.html">mode</a>
 whereas the tabbing environment can be used only in paragraph 
 <a href="ltx-130.html">mode</a> and it starts a new paragraph.
<p>
 <li>The tabular 
 environment generates a box, which LaTeX treats as one (albeit very large) 
 letter; it cannot be split across pages.  A long tabbing environment can
 be split across pages.
<p>
 <li>The width of columns in a tabular environment is determined automatically
 by LaTeX; in the tabbing environment this is done by setting tab stops.
</ul>
<H2>Tabbing commands</H2>
<ul>
<li><A href="ltx-187.html"><tt>\=</tt></A> (set tab)
<li><A href="ltx-188.html"><tt>\&gt;</tt></A> (advance to next tab stop)
<li><A href="ltx-189.html"><tt>\&lt;</tt></A>
<li><A href="ltx-190.html"><tt>\+</tt></A> (indent; move margin right)
<li><A href="ltx-182.html"><tt>\-</tt></A> (unindent; move margin left)
<li><A href="ltx-191.html"><tt>\'</tt></A>
<li><A href="ltx-192.html"><tt>\`</tt></A>
<li><a href="ltx-181.html"><tt>\\</tt></a> (end of line; newline)
<li><A href="ltx-251.html"><tt>\kill</tt></A> (ignore preceding text; use only 
    for spacing)
</ul>
The <a href="ltx-241.html"><tt>\hspace</tt></a> command is useful for
controlling horizontal space in the tabbing environment.
<p>
Note that the commands <tt>\=</tt>, <tt>\'</tt>, and <tt>\`</tt> 
normally produce <a href="ltx-401.html">accents</a> over the subsequent
letter.  These commands are redefined in the tabbing environment;
in this environment it is possible to get the accents by using
<tt>\a=</tt>, <tt>\a'</tt>, and <tt>\a`</tt>, respectively.
</body>
<hr>
Return to <a href="ltx-2.html">LaTeX Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 28 Nov 1995.
</address>
</html>