LaTeX – Todonotes inline without specifying the inline argument

I use the todonotes package for LaTeX.

But I mostly use the inline command of it.

In order to avoid having to repeat the same argument again and again, I define this new command

\newcommand{\todoin}[1][]{\todo[inline, #1]}

Now I can simpy write

\todoin{test}

And it will appear as an inline todo note

Advertisements