Combining lists and text wrapping around figures is a hassle. The wrapfig
package, for example, cannot do it. I am now trying to use a \tcbsidebyside
box with blanker
option to achieve it.
The question is: Is there a clean way to exactly align the baseline of the first line on the left-hand side to the surrounding baseline? In the MNWE below, I would like to get the first line inside the box to align with enumerate
label.
\documentclass{article}
\usepackage[most]{tcolorbox}
\usepackage{blindtext}
\begin{document}
\begin{enumerate}
\item First item
\item \tcbsidebyside[blanker, sidebyside adapt=right,
halign upper=justify, halign lower=right,
sidebyside align=top seam]{\blindtext}{<Some image>}
\end{enumerate}
\end{document}
\tcbitemize