Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

par break after noinlinepar todo if it is at the begin of the paragraph #76

Open
u-fischer opened this issue Oct 31, 2024 · 0 comments
Open

Comments

@u-fischer
Copy link

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}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant