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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s