diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-empty.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-empty.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-empty.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-empty.html index 067680f0e85..56e0e35b7e8 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-empty.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-empty.html @@ -11,26 +11,26 @@ and <code>\</code><code>cmd{blah}</code>. This is pretty simple: \def\tempa{}% \def\tempb{#1}% \ifx\tempa\tempb - <empty case> + <empty case> \else - <non-empty case> + <non-empty case> \fi } </pre> </blockquote><p> The case where you want to ignore an argument that consists of nothing but spaces, rather than something completely empty, is more tricky. -It’s solved in the code fragment <i>ifmtarg</i>, which defines +It’s solved in the code fragment <i>ifmtarg</i>, which defines commands <code>\</code><code>@ifmtarg</code> and <code>\</code><code>@ifnotmtarg</code>, which examine their first argument, and select (in opposite directions) their second or -third argument. The package’s code also appears in the LaTeX +third argument. The package’s code also appears in the LaTeX <i>memoir</i> class. -<p/><i>Ifmtarg</i> makes challenging reading; there’s also a discussion of the -issue in number two of the “around the bend” articles by the late +<p/><i>Ifmtarg</i> makes challenging reading; there’s also a discussion of the +issue in number two of the “around the bend” articles by the late lamented Mike Downes. <dl> <dt><tt><i>Around the bend series</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/info/challenges/aro-bend.zip">info/challenges/aro-bend</a> (or <a href="http://www.tex.ac.uk/tex-archive/info/challenges/aro-bend/">browse the directory</a>) -<dt><tt><i>ifmtarg.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/misc/ifmtarg.sty">macros/latex/contrib/misc/ifmtarg.sty</a> +<dt><tt><i>ifmtarg.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ifmtarg.zip">macros/latex/contrib/ifmtarg</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ifmtarg/">browse the directory</a>) <dt><tt><i>memoir.cls</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/memoir.zip">macros/latex/contrib/memoir</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/memoir/">browse the directory</a>) </dl> <p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=empty">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=empty</a> |