Monday, March 18, 2013

Writing macros, defining new commands

New commands can be defined as 

\newcommand{\newtag}{your new command}
 If you would like to pass arguments to the command it is possible as
\newcommand{\newtag}[1]{your new command, your argument is {#1}}

No comments:

Post a Comment