我有一個針對該包的自訂命令todonotes
\newcommandx{\custom}[3][1=]{\todo[#1,author=#2]{#3}}
應該這樣使用:
\custom[inline]{author1,some comments}
相反,它會引發錯誤:
E: main.tex:124 Package xkeyval Error: `some comments' undefined in families `todonotes'
到底是怎麼回事?我定義了 3 個參數,其中參數 1 是可選的!