I have a wrapped figure and I want to make it float the bottom of the page (like one can do with the figure environment).
Using wrapfigure I can choose left or right {l}({L}) or right {r}({R}), but I can't choose top or bottom. I read the manual many times, it mentions the enviroment of wrapfloat but still I cannot tell how to force it to be at bottom of page.
Perhaps wrapfigure is not the right tool (see linked questions); if so, I welcome alternative ways of getting the same or very similar result.
In summary, what I want is to have frame or figure that is both floated (for example at the bottom of the page) and that the main text wraps around it (see figure below).
This is the MWE
\documentclass{article}
\usepackage{mdframed}
\usepackage{wrapfig}
\usepackage{lipsum}
\begin{document}
\section{Hello}
\lipsum[2]
\begin{wrapfigure}{l}{0.5\textwidth}
\begin{mdframed}
should be at left (ok), bottom (how?)
\end{mdframed}
\end{wrapfigure}
\section{Bye}
\lipsum[30]
\lipsum[30]
\lipsum[30]
\end{document}
This was asked before but I don't think it is a general solution: Wrapfig floating to bottom (Article) . There is another failed attempt: Package wrapfig and vertical float. Is it possible?


wrapfigdoes. Indeed, something too close to a page break has a tendency to disappear. – cfr Nov 10 '15 at 02:19minipageenvironments in afigureand let the whole thing float wherever. But the text won't wrap in that case - you'll get two blocks, one for the image and one for the text, say. That can work well but it only works if there is specific text which belongs with the image or diagram or whatever. For specialist uses, you can use something likeflowframbut that seriously mutilates the usual output routine, of course. – cfr Nov 10 '15 at 02:42flowframis the only option I know which provides anything remotely approaching that, but it is for quite specialist uses. If this is a magazine or newsletter, it might work. – cfr Nov 10 '15 at 02:49