blob: c71a2416792dbb694c979544b545d1f56686af23 (
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
|
<head>
<title>UK TeX FAQ -- question label fixnam</title>
</head><body>
<h3>How to change LaTeX’s “fixed names”</h3>
<p/>LaTeX document classes define several typographic operations that
need ‘canned text’ (text not supplied by the user). In the earliest
days of LaTeX 2.09 these bits of text were built in to the body of
LaTeX’s macros and were rather difficult to change, but “fixed
name” macros were introduced for the benefit of those wishing to use
LaTeX in languages other than English.
For example, the special section produced by the <code>\</code><code>tableofcontents</code>
command is always called <code>\</code><code>contentsname</code> (or rather, what
<code>\</code><code>contentsname</code> is defined to mean).
Changing the canned text is now one of the easiest customisations a
user can do to LaTeX.
<p/>The canned text macros are all of the form
<code>\</code><code><<i>thing</code>name</i>>, and changing them is simplicity
itself. Put:
<blockquote>
<code>\</code><code>renewcommand{<code>\</code><code><<i>thing</code>name</i>>}{Res minor}</code>
</blockquote><p>
in the preamble of your document, and the job is done.
(However, beware of the <i>babel</i> package, which requires you to
use a different mechanism: be sure to check
<a href="FAQ-latexwords.html">changing <i>babel</i> names</a> if
you’re using it.)
<p/>The names that are defined in the standard LaTeX classes (and the
<i>makeidex</i> package) are listed
below. Some of the names are only defined in a subset of the classes
(and the <i>letter</i> class has a set of names all of its own);
the list shows the specialisation of each name, where appropriate.
<p/><table rules="groups" border="0" cellpadding="3"><tbody><tr><td>
<code>\</code><code>abstractname</code> <td> Abstract<tr><td>
<code>\</code><code>alsoname</code> <td> see also (<i>makeidx</i> package)<tr><td>
<code>\</code><code>appendixname</code> <td> Appendix<tr><td>
<code>\</code><code>bibname</code> <td> Bibliography (<i>report</i>,<i>book</i>)<tr><td>
<code>\</code><code>ccname</code> <td> cc (<i>letter</i>)<tr><td>
<code>\</code><code>chaptername</code> <td> Chapter (<i>report</i>,<i>book</i>)<tr><td>
<code>\</code><code>contentsname</code> <td> Contents<tr><td>
<code>\</code><code>enclname</code> <td> encl (<i>letter</i>)<tr><td>
<code>\</code><code>figurename</code> <td> Figure (for captions)<tr><td>
<code>\</code><code>headtoname</code> <td> To (<i>letter</i>)<tr><td>
<code>\</code><code>indexname</code> <td> Index<tr><td>
<code>\</code><code>listfigurename</code> <td> List of Figures<tr><td>
<code>\</code><code>listtablename</code> <td> List of Tables<tr><td>
<code>\</code><code>pagename</code> <td> Page (<i>letter</i>)<tr><td>
<code>\</code><code>partname</code> <td> Part<tr><td>
<code>\</code><code>refname</code> <td> References (<i>article</i>)<tr><td>
<code>\</code><code>seename</code> <td> see (<i>makeidx</i> package)<tr><td>
<code>\</code><code>tablename</code> <td> Table (for caption)
</tbody></table>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fixnam">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fixnam</a>
</body>
|