I am using the package todonotes
in order to handle my TODOs. As written in the manual, one can define a custom TODO command like that:
\newcommand{\feedbackRequired}[1]{\todo[color=red!70]{#1}}
This works in general if one uses it without any options:
\feedbackRequired{Do I have to do that, supervisor?}
But unfortunately, it is not possible to use the new command and give it some extra options like that:
\feedbackRequired[inline]{Do I have to do that, supervisor?}
This will break the output. The tex file will still be compiled, but the TODO note output in the PDF is broken:
How can I solve that problem?
macros
, as the problem is not directly totodonotes
but rather to the usage ofmacros
and optional parameters