I have a memoir document full of minipages
and breakable tcoloboxes
and I don't understand the interaction between the two. Sometimes my minipage contents gets pushed far beyond the bottom of the actual page. I put together a MWE below, where the blue rectangle is not shown in full. As per comments below, the problem is more with tcolorbox
than memoir, but still it remains mysterious to me.
What am I doing wrong ?
\documentclass[a4paper,12pt]{memoir}
\usepackage[margin=2cm,showframe]{geometry}
\usepackage[many]{tcolorbox}
\tcbuselibrary{breakable}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\lipsum[2]
\begin{minipage}{10cm}
\color{blue}\rule{2cm}{16cm}
O brother were art thou ?
\end{minipage}
\begin{tcolorbox}[breakable=true]
\lipsum[4]
\end{tcolorbox}
\lipsum[5]
\end{document}
\begin{minipage}[b]
memoir
tag as it is notmemoir
related