Changes

Jump to navigation Jump to search
first version
In LaTeX you define a new command with an optional argument with "newcommand":

<small><pre>
\newcommand{\MyCommand}[2][World]{{#2Hello #1!}}
\MyCommand{\bfseries}
\MyCommand[Hans]{\scshape}
</pre></small>

ConTeXt:

There is perhaps a way to do the same. Otherwise, the key value method is preferred, see [[Define Commands]].
148

edits

Navigation menu