I've been using memoir's \newfloat to make boxes of text that float within a multi-column document. When I use twocolumn mode, everything works fine. However, I need to use the multicol package for columns, instead, because that allows me to make section titles that span columns (without starting a new page, like when attempting such in twocolumn mode).
When I use the the starred version of the memoir float, the results span columns as expected (both in twocolumn mode and when using multicol). The non-starred version, however, fails to show up when using multicol.
\documentclass{memoir}
\usepackage{lipsum}
\usepackage{multicol}
\usepackage{xcolor}
\pagestyle{empty}
% Create memoir float...
\newfloat{F}{X}{capname}
% Make section title span columns...
\let\oldsection\section
\renewcommand*{\section}[1]{%
\end{multicols}%
\oldsection{#1}%
\begin{multicols}{2}%
}
\begin{document}
\begin{multicols}{2}
\section{Section title modified to span columns}
\lipsum[1-2]
\begin{F} % Non-starred is supposed to float contents within a column -- this works with twocolumn, but not multicols?
\color{red}{\lipsum[3]}
\end{F}
\lipsum[4-5]
\begin{F*} % Non-starred is supposed to float contents across all columns on next page -- this works.
\color{green}{\lipsum[6]}
\end{F*}
\lipsum[7-8]
\end{multicols}
\end{document}