I need to put a figure inside a minipage, like so:
\documentclass{memoir}
\begin{document}
\begin{minipage}{10cm}
\begin{figure}
blabla
\caption{test}
\end{figure}
\end{minipage}
\end{document}
However, LaTeX doesn't like that since it is no longer in outer par mode, so it crashes and burns. I then tried the solution provided here, but that doesn't work either since the float
package doesn't play nicely with memoir
.
Is there a way of working around this?
minipage
andfigure
is not a good option?