diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-07 22:47:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-07 22:47:28 +0000 |
commit | 3f1971c9b7717818766692c9aa497e20e7472f2c (patch) | |
tree | 678de0190b6643b1b21fd9441fa1387bce180726 /Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-actinarg.html | |
parent | c7c3b090320a234149dbe23315e2a15a2773ac79 (diff) |
FAQ-en 3.19d (7apr10)
git-svn-id: svn://tug.org/texlive/trunk@17742 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-actinarg.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-actinarg.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-actinarg.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-actinarg.html index 7d024d8dd5c..6ad40bc2d04 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-actinarg.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-actinarg.html @@ -2,7 +2,7 @@ <title>UK TeX FAQ -- question label actinarg</title> </head><body> <h3>Active characters in command arguments</h3> -<p/>Occasionally, it’s nice to make one or two characters active in the +<p/>Occasionally, it’s nice to make one or two characters active in the argument of a command, to make it easier for authors to code the arguments. <p/>Active characters <em>can</em> be used safely in such situations; but @@ -15,7 +15,7 @@ in a macro for specifying chords. elsewhere in TeX (to say the least!), so that the characters can only be made active while the command is executing. <p/>Using the techniques discussed in -“<a href="FAQ-activechars.html">characters as commands</a>”, +“<a href="FAQ-activechars.html">characters as commands</a>”, we can define: <blockquote> <pre> @@ -37,7 +37,7 @@ and: </blockquote><p> The second problem is one of timing: the command has to make each character active <em>before</em> its arguments are read: this means that -the command can’t actually “have” arguments itself, but must be +the command can’t actually “have” arguments itself, but must be split in two. So we write: <blockquote> <pre> @@ -59,18 +59,18 @@ and we can use the command as <code>\</code><code>chord{F#}</code> or <ul> <li> <code>\</code><code>begingroup</code> in <code>\</code><code>chord</code> opens a group that is closed by <code>\</code><code>endgroup</code> in <code>\</code><code>Xchord</code>; this group limits the change of - category codes, which is the <em>raison d’être</em> of the whole + category codes, which is the <em>raison d’être</em> of the whole exercise. -<li> Although <code>#</code> is active while <code>\</code><code>Xchord</code> is executed, it’s - <em>not</em> active when it’s being defined, so that the use of <code>#1</code> - doesn’t require any special attention. +<li> Although <code>#</code> is active while <code>\</code><code>Xchord</code> is executed, it’s + <em>not</em> active when it’s being defined, so that the use of <code>#1</code> + doesn’t require any special attention. </ul> <p/>Note that the technique used in such macros as <code>\</code><code>chord</code>, here, is analogous to that used in such commands as <code>\</code><code>verb</code>; and, in just the same way as <code>\</code><code>verb</code> (see -“<a href="FAQ-verbwithin.html"><code>\</code><code>verb</code> doesn’t work in arguments</a>”), -<code>\</code><code>chord</code> won’t work inside the argument of another command (the +“<a href="FAQ-verbwithin.html"><code>\</code><code>verb</code> doesn’t work in arguments</a>”), +<code>\</code><code>chord</code> won’t work inside the argument of another command (the error messages, if they appear at all, will probably be rather odd). <p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=actinarg">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=actinarg</a> </body> |