Latex: Difference between revisions

Line 102: Line 102:
You can define your own commands using <code>\newcommand</code>
You can define your own commands using <code>\newcommand</code>
<syntaxhighlight lang="latex">
<syntaxhighlight lang="latex">
\newcommand{notdone}{{\color{red} Not done!!}}
\newcommand{\notdone}{{\color{red} Not done!!}}
</syntaxhighlight>
</syntaxhighlight>