summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ltxhash.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ltxhash.html')
-rw-r--r--Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ltxhash.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ltxhash.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ltxhash.html
index a733f758907..0e3d777727f 100644
--- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ltxhash.html
+++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ltxhash.html
@@ -2,18 +2,18 @@
<title>UK TeX FAQ -- question label ltxhash</title>
</head><body>
<h3>Defining LaTeX commands within other commands</h3>
-<p>LaTeX command definition is significantly different from the TeX
+<p/>LaTeX command definition is significantly different from the TeX
primitive form discussed in an
<a href="FAQ-hash.html">earlier question</a> about definitions within
macros.
-<p>In most ways, the LaTeX situation is simpler (at least in part
+<p/>In most ways, the LaTeX situation is simpler (at least in part
because it imposes more restrictions on the user); however, defining a
command within a command still requires some care.
-<p>The earlier question said you have to double the <code>#</code> signs in command
+<p/>The earlier question said you have to double the <code>#</code> signs in command
definitions: in fact, the same rule holds, except that LaTeX
already takes care of some of the issues, by generating argument lists
for you.
-<p>The basic problem is that:
+<p/>The basic problem is that:
<blockquote>
<pre>
\newcommand{\abc}[1]{joy, oh #1!%
@@ -30,7 +30,7 @@ followed by a call:
typesets &ldquo;joy, oh joy!&rdquo;, but defines a command <code>\</code><code>ghi</code> that takes
one parameter, which it ignores; <code>\</code><code>ghi{gloom}</code> will expand to
&ldquo;gloom, oh joy!&rdquo;, which is presumably not what was expected.
-<p>And (as you will probably guess, if you&rsquo;ve read the earlier question)
+<p/>And (as you will probably guess, if you&rsquo;ve read the earlier question)
the definition:
<blockquote>
<pre>
@@ -41,7 +41,7 @@ the definition:
</blockquote><p>
does what is required, and <code>\</code><code>ghi{gloom}</code> will expand to
&ldquo;gloom, oh gloom!&rdquo;, whatever the argument to <code>\</code><code>abc</code>.
-<p>The doubling is needed whether or not the enclosing command has an
+<p/>The doubling is needed whether or not the enclosing command has an
argument, so:
<blockquote>
<pre>
@@ -51,5 +51,5 @@ argument, so:
</pre>
</blockquote><p>
is needed to produce a replica of the <code>\</code><code>ghi</code> we defined earlier.
-<p><p><p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ltxhash">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ltxhash</a>
+<p/><p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ltxhash">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ltxhash</a>
</body>