diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-alreadydef.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-alreadydef.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-alreadydef.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-alreadydef.html index 97cf247ecb6..4bd4869922e 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-alreadydef.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-alreadydef.html @@ -1,7 +1,7 @@ <head> <title>UK TeX FAQ -- question label alreadydef</title> </head><body> -<h3>Package reports "command already defined"</h3> +<h3>Package reports “command already defined”</h3> <p>You load a pair of packages, and the second reports that one of the commands it defines is already present. For example, both the <i>txfonts</i> and <i>amsmath</i> define a command <code>\</code><code>iint</code> @@ -12,7 +12,7 @@ commands it defines is already present. For example, both the \usepackage{txfonts} \usepackage{amsmath} </pre> -</blockquote> +</blockquote><p> produces a string of error messages of the form: <blockquote> <pre> @@ -20,24 +20,24 @@ produces a string of error messages of the form: Or name \end... illegal, see p.192 of the manual. </pre> -</blockquote> +</blockquote><p> As a general rule, things that <i>amsmath</i> defines, it defines well; however, there is a good case for using the <i>txfonts</i> -version of <code>\</code><code>iint</code> - the associated <i>tx</i> fonts have a -double integral symbol that doesn't need to be "faked" in the way +version of <code>\</code><code>iint</code> — the associated <i>tx</i> fonts have a +double integral symbol that doesn’t need to be “faked” in the way <i>amsmath</i> does. In the case that you are loading several symbol packages, every one of which defines the same symbol, you are likely to experience the problem in a big way (<code>\</code><code>euro</code> is a common victim). -<p>There are similar cases where one package redefines another's command, -but no error occurs because the redefining package doesn't use +<p>There are similar cases where one package redefines another’s command, +but no error occurs because the redefining package doesn’t use <code>\</code><code>newcommand</code>. Often, in such a case, you only notice the change because you assume the definition given by the first package. The -<i>amsmath</i>-<i>txfonts</i> packages are just such a pair; -<i>txfonts</i> doesn't provoke errors. +<i>amsmath</i>–<i>txfonts</i> packages are just such a pair; +<i>txfonts</i> doesn’t provoke errors. <p>You may deal with the problem by saving and restoring the command. Macro programmers may care to do this for themselves; for the rest of -us, there's the package <i>savesym</i>. The sequence: +us, there’s the package <i>savesym</i>. The sequence: <blockquote> <pre> \usepackage{savesym} @@ -46,11 +46,11 @@ us, there's the package <i>savesym</i>. The sequence: \usepackage{txfonts} \restoresymbol{TXF}{iint} </pre> -</blockquote> +</blockquote><p> does the job; restoring the <i>amsmath</i> version of the command, and making the <i>txfonts</i> version of the command available as <code>\</code><code>TXFiint</code>. -<p>Documentation of <i>savesym</i> doesn't amount to much: the only +<p>Documentation of <i>savesym</i> doesn’t amount to much: the only commands are <code>\</code><code>savesymbol</code> and <code>\</code><code>restoresymbol</code>, as noted above. <dl> <dt><tt><i>amsmath.sty</i></tt><dd>Part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse</a>) |