summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-latexwords.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-latexwords.html')
-rw-r--r--Master/texmf-doc/doc/english/FAQ-en/html/FAQ-latexwords.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-latexwords.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-latexwords.html
new file mode 100644
index 00000000000..e59a62cb87d
--- /dev/null
+++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-latexwords.html
@@ -0,0 +1,46 @@
+<head>
+<title>UK TeX FAQ -- question label latexwords</title>
+</head><body>
+<h3>Changing the words <i>babel</i> uses</h3>
+<p>LaTeX uses symbolic names for many of the automatically-generated
+text it produces (special-purpose section headings, captions, etc.).
+As noted in <a href="FAQ-fixnam.html">"\LaTeX fixed names"</a> (which
+includes a list of the names themselves),
+this enables the user to change the
+names used by the standard classes, which is particularly useful if
+the document is being prepared in some language other than LaTeX's
+default English. So, for example, a Danish author may wish that her
+table of contents was called "Indholdsfortegnelse", and so
+would expect to place a command
+<pre>
+\renewcommand{\contentsname}%
+ {Indholdsfortegnelse}
+</pre>
+in the preamble of her document.
+<p>However, it's natural for a user of a non-English language to use
+<i>babel</i>, because it offers many conveniences and typesetting
+niceties for those preparing documents in those languages. In
+particular, when <i>babel</i> is selecting a new language, it
+ensures that LaTeX's symbolic names are translated appropriately
+for the language in question. Unfortunately, <i>babel</i>'s choice
+of names isn't always to everyone's choice, and there is still a need
+for a mechanism to replace the 'standard' names.
+<p>Whenever a new language is selected, <i>babel</i> resets all the
+names to the settings for that language. In particular,
+<i>babel</i> selects the document's main language when
+<code>\</code><code>begin{document}</code> is executed, which immediately destroys
+any changes to these symbolic names made in the prologue of a document
+that uses <i>babel</i>.
+<p>Therefore, babel defines a command to enable users to change the
+definitions of the symbolic names, on a per-language basis:
+<code>\</code><code>addto</code><code>\</code><code>captions</code><code>&lt;<i>language</i>&gt;</code> is the thing
+(<code>&lt;<i>language</i>&gt;</code> being the language option you gave to
+<i>babel</i> in the first place). For example:
+<pre>
+\addto\captionsdanish{%
+ \renewcommand{\contentsname}%
+ {Indholdsfortegnelse}%
+}
+</pre>
+<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=latexwords">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=latexwords</a>
+</body>