You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the test \if@todonotes@inlinepar is not only in \@todonotes@drawInlineNote but also in the \todo command before the keys are set, a \par is added unconditionally if the \todo starts in vmode:
\documentclass{article}
\usepackage{todonotes}
\begin{document}
before \todo[inline]{note 1} after
before \todo[noinlinepar,inlinewidth=3cm,inline]{note 2} after
\bigskip
\todo[inline]{note 3} after
\todo[noinlinepar,inlinewidth=3cm,inline]{note 4} why a parbreak here?
\end{document}
The text was updated successfully, but these errors were encountered:
As the test
\if@todonotes@inlinepar
is not only in\@todonotes@drawInlineNote
but also in the\todo
command before the keys are set, a\par
is added unconditionally if the\todo
starts in vmode:The text was updated successfully, but these errors were encountered: