summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex2e-html/ltx-171.html
blob: a6cfc68d9f4806274835517ffdd162f2cbeeada2 (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
<html>
<head><title>Help On LaTeX \addcontentsline</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">\addcontentsline</font></h1>
 <tt>\addcontentsline{file}{sec_unit}{entry}</tt>
<p>
 The <tt>\addcontentsline</tt>  command  adds an entry to the specified  list or
 table where
<ul>
<li><tt>file</tt> is the extension of the file on which information is  to  be
     written:   toc (table of contents), lof (list of figures), or lot
     (list of tables).
<li><tt>sec_unit</tt> controls the formatting of the entry.  It should be  one
     of the following, depending upon the value of the file argument:
  <ul>
  <li><TT>toc</TT> the name  of  the  sectional  unit,  such  as  part  or
         subsection.
  <li><TT>lof</TT> figure
  <li><TT>lot</TT> table
  </ul>
<li><tt>entry</tt> is the text of the entry.
</ul>
<p>
<hr>
See also <a href="ltx-170.html">Table of Contents</a><br>
Return to the <a href="ltx-2.html">LaTeX Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 28 Jun 1995.
</address>
</body>
</html>