diff options
author | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
commit | c7cfef6687f65c2538898ddd7c6bc9c9ba50e58d (patch) | |
tree | 8f4de70d1a11463779871162ba84c1dbc874155b /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-oarglikesect.html | |
parent | 8948a31a6e2ac27883f7adac1b339003961ba43f (diff) |
uk-tex-faq 3.17 (7nov07)
git-svn-id: svn://tug.org/texlive/trunk@5977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-oarglikesect.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-oarglikesect.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-oarglikesect.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-oarglikesect.html index e5de72fef15..ee818a6709e 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-oarglikesect.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-oarglikesect.html @@ -2,12 +2,12 @@ <title>UK TeX FAQ -- question label oarglikesect</title> </head><body> <h3>Optional arguments like <code>\</code><code>section</code></h3> -<p>Optional arguments, in macros defined using <code>\</code><code>newcommand</code>, don’t +<p/>Optional arguments, in macros defined using <code>\</code><code>newcommand</code>, don’t quite work like the optional argument to <code>\</code><code>section</code>. The default value of <code>\</code><code>section</code>’s optional argument is the value of the mandatory argument, but <code>\</code><code>newcommand</code> requires that you ‘know’ the value of the default beforehand. -<p>The requisite trick is to use a macro in the optional argument: +<p/>The requisite trick is to use a macro in the optional argument: <blockquote> <pre> \documentclass{article} @@ -36,5 +36,5 @@ above would have been programmed: In that code, <code>\</code><code>@thing</code> is only ever called with an optional and a mandatory argument; if the default from the <code>\</code><code>newcommand</code> is invoked, a bug in user code has bitten... -<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=oarglikesect">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=oarglikesect</a> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=oarglikesect">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=oarglikesect</a> </body> |