kaobook
kaobook copied to clipboard
Sidenotes do not avoid each other when called inside definition
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.