Is it possible to set the default style of todo notes by the latex todonotes package to inline to avoid mentioning inline everytime?
I imported the package into my latex document like this:
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
and used it in the document like this:
\todo[inline]{New TODO comment}
\let\svtodo\todo\renewcommand\todo[1]{\svtodo[inline]{#1}}
, will allow you to do it by redefining the existing macro, but will not allow for any optional arguments.\newcommand{\todoin}[2][]{\todo[inline,#1]{#2}}
. Similar to Johannes_B solution but with optional arguments. More o less similar example is shown intodonotes
documentation, page 15.\setuptodonotes{inline}
in my preamble does it for me.