Changes

Jump to navigation Jump to search
98 bytes added ,  02:21, 5 December 2010
== Description ==
<code>\define</code> is like the TeX primitive <code>\def</code>: it defines a new TeX macro.  === define vs def ===Unlike <code>\def</code>, it will '''not allow you to redefine ''' an already defined command.
The optional (bracketed) argument denotes the number of parameters you can give
to your command. "text" is the result when the macro gets expanded.
== pitfalls ==
<code>\define</code> does not use <code>\long</code>, that means in MkII
multiple paragraphs (e.g. through <code>\par</code> or <code>\endgraf</code>)
inside arguments will not work.
 
The name of the new command may not include numbers.
== comment ==
303

edits

Navigation menu