Recognition
If no parameter is defined in the macro definition, options will not be recognized. The same is true for the body part. Unless "__body__"
is used in the macro definition, macro bodies will not be recognized. This means that with the definition
the construction
\OPTIONLESS{something=this}<more> |
is evaluated as a usage of \OPTIONLESS
without body, followed by the string "{something=here}"
. Likewise, the definition
+BODYLESS:found __something__ |
causes
\BODYLESS{something=this}<more> |
to be recognized as a usage of \BODYLESS
with option something
, followed by the string "<more>"
. So this will be resolved as "found this"
. Finally,
+JUSTTHENAME:Text phrase. |
enforces these constructions
... \JUSTTHENAME, ...
... \JUSTTHENAME{name=Name}, ...
... \JUSTTHENAME<text>, ...
... \JUSTTHENAME{name=Name}<text> ... |
to be translated into
... Text phrase. ...
... Text phrase.{name=Name} ...
... Text phrase.<text>, ...
... Text phrase.{name=Name}<text> ... |
The principle behind all this is to make macro usage easier and intuative: why think of options or a body or of special characters possibly treated as option/body part openers unless the macro makes use of an option or body?