kaobook icon indicating copy to clipboard operation
kaobook copied to clipboard

Sidenotes do not avoid each other when called inside definition

Open dwarfmaster opened this issue 9 months ago • 1 comments

Description

When adding two sidenotes too close to each other, kaobook manages to place them so that they avoid each other. However, if they are placed inside a definition, it seems the floating behaviour is disabled.

Minimal Working Example

\documentclass{kaobook}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{kaobiblio}
\usepackage[framed=true]{kaotheorems}
\usepackage{kaorefs}

\begin{document}
\begin{definition}
Some text\sidenote{Hello}\sidenote{World}
\end{definition}
\end{document}

Expected behavior: I would expect Hello and World not to overlap.

Actual behavior: Hello and World actually overlap.

dwarfmaster avatar Oct 17 '23 13:10 dwarfmaster