summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-activechars.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-activechars.html')
-rw-r--r--Master/texmf-doc/doc/english/FAQ-en/html/FAQ-activechars.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-activechars.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-activechars.html
index 5cc1b11adac..3603f16be4e 100644
--- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-activechars.html
+++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-activechars.html
@@ -2,13 +2,13 @@
<title>UK TeX FAQ -- question label activechars</title>
</head><body>
<h3>Defining characters as macros</h3>
-<p>Single characters can act as macros (defined commands), and both
+<p/>Single characters can act as macros (defined commands), and both
Plain TeX and LaTeX define the character
&ldquo;<code>~</code>&rdquo; as a &ldquo;non-breakable space&rdquo;. A
character is made definable, or &ldquo;active&rdquo;, by setting its
<em>category code</em> (catcode) to be <code>\</code><code>active</code> (13):
<code>\catcode&lsquo;_=\active</code>.
-<p>Any character could, in principle, be activated this way and defined
+<p/>Any character could, in principle, be activated this way and defined
as a macro (<code>\</code><code>def</code><code>_{</code><code>\</code><code>_</code><code>}</code> &mdash; the simple answer to
<a href="FAQ-underscore.html">using underscores</a>), but you must be
@@ -17,7 +17,7 @@ may be unexpected and interact badly with other macros. Furthermore,
by defining an active character, you preclude the character&rsquo;s use for
other purposes, and there are few characters &ldquo;free&rdquo; to be subverted
in this way.
-<p>To define the character &ldquo;<code>z</code>&rdquo; as a command, one would say something
+<p/>To define the character &ldquo;<code>z</code>&rdquo; as a command, one would say something
like:
<blockquote>
<pre>
@@ -32,7 +32,7 @@ a letter; the space is therefore not necessary &mdash; &ldquo;<code>\defz</code>
choose to retain the space, for what little clarity we can manage.)
Some LaTeX packages facilitate such definitions. For example, the
<i>shortvrb</i> package with its <code>\</code><code>MakeShortVerb</code> command.
-<p>TeX uses category codes to interpret characters as they are read
+<p/>TeX uses category codes to interpret characters as they are read
from the input.
<em>Changing a catcode value will not affect characters that have already been read</em>.
@@ -48,9 +48,9 @@ files using the <i>shortvrb</i> package to define
<code>|...|</code> as a shorthand for
<code>\</code><code>verb</code><code>|...|</code>. But <code>|</code> is
also used in the preambles of tabular environments, so that tables in
-<code>.dtx</code> files can only have vertical line separation between columns by
-employing special measures of some sort.
-<p>Another consequence is that catcode assignments made
+<code>.dtx</code> files can only have vertical line separation between
+columns by employing special measures of some sort.
+<p/>Another consequence is that catcode assignments made
in macros often don&rsquo;t work as expected
(see &ldquo;<a href="FAQ-actinarg.html">Active characters in command arguments</a>&rdquo;).
For example, the definition
@@ -95,7 +95,7 @@ explicitly changing a catcode:
The two definitions have the same overall effect (the character is
defined as a command, but the character does not remain active),
except that the first defines a <code>\</code><code>global</code> command.
-<p>For active characters to be used only in maths mode, it is much better
+<p/>For active characters to be used only in maths mode, it is much better
to leave the character having its ordinary catcode, but assign it a
special active <em>maths code</em>, as with
<blockquote>
@@ -116,5 +116,5 @@ becomes accessible again if the character once again becomes active.
<dt><tt><i>doc.sty</i></tt><dd>Distributed as part of the source of LaTeX, <a href="ftp://cam.ctan.org/tex-archive/macros/latex/base.zip">macros/latex/base</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/base.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/base/">browse</a>)
<dt><tt><i>shortvrb.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse</a>)
</dl>
-<p><p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=activechars">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=activechars</a>
+<p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=activechars">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=activechars</a>
</body>