<?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> <html xmlns="http://www.w3.org/1999/xhtml" > <head><title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> <meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> <!-- xhtml,th4,index --> <meta name="src" content="mn.tex" /> <meta name="date" content="2007-07-08 23:10:00" /> <link rel="stylesheet" type="text/css" href="mn.css" /> </head><body > <!--l. 5253--><p class="noindent" ><a href="mn7.html#mn21-1" name="mn21-1" >1</a>. <a name="index21-36002"></a><span class="cmtt-10">\NewConfigure{</span><span class="cmti-10">name</span><span class="cmtt-10">}[</span><span class="cmti-10">i</span><span class="cmtt-10">]{</span><span class="cmti-10">body</span><span class="cmtt-10">}</span> </p><!--l. 5255--><p class="indent" > Hooks are just macro names seeded within the bodies of other macros. This command introduces a configuration command for a group of hooks, whose cardinality is given by a digit <span class="cmti-10">i </span>and whose name is provided by the first parameter. The body determines the relationship between the hooks and the configurations provided for them. </p><hr /> <!--l. 5265--><p class="noindent" ><a href="mn7.html#mn21-2" name="mn21-2" >2</a>. <a name="index21-36004"></a><span class="cmtt-10">\Configure{</span><span class="cmti-10">name</span><span class="cmtt-10">}{</span><span class="cmti-10">parameter-1</span><span class="cmtt-10">}...{</span><span class="cmti-10">parameter-i</span><span class="cmtt-10">}</span> </p> <table id="TBL-13" ><tr > <td class="output" ><div class="output"> * ho ha * </div></td><td ><div class="source"> <div class="ShowCode"> <br /> <span class="cmtt-10">\NewConfigure{try}[2]{%</span> <br /> <span class="cmtt-10">\def\hookI{#1}\def\hookII{#2}}</span> <br /> <span class="cmtt-10">\def\try#1{\hookI#1\hookII}</span> <br /> <span class="cmtt-10">\Configure{try}{*</span> <span class="cmtt-10">}{}</span> <span class="cmtt-10">\try{ho}</span> <br /> <span class="cmtt-10">\Configure{try}{}{</span> <span class="cmtt-10">*}</span> <span class="cmtt-10">\try{ha}</span> </div> </div></td></tr></table> </body></html>