For example, instead of writing
Code: Select all
\newcommand{\mynewmacro}{\blahblahblah}
Code: Select all
\newcommand{\MNM}{\blahblahblah} %MNM = my new macro
Code: Select all
\newcommand{\mynewmacro}{\blahblahblah}
Code: Select all
\newcommand{\MNM}{\blahblahblah} %MNM = my new macro
NEW: TikZ book now 40% off at Amazon.com for a short time.
\def\be{\begin{equation}
. Please never, never do stuff like that. Heh, there does not appear to me to be a purpose to making a macro that "summarizes" a single command.Johannes_B wrote:Bad example: Some people define\def\be{\begin{equation}
. Please never, never do stuff like that.
If you are giving the code away, for a friend to proof-read or to the copy-editor, the cursing will begin soon after, because the document is extremely hard to read. Imaging talking like that in real life.
beq␣
could be expanded to \begin{equation}
. Easy to type, easy to read. NEW: TikZ book now 40% off at Amazon.com for a short time.