Code:
\documentclass{article}
\usepackage[a5paper]{geometry}
\usepackage{wrapfig}
\usepackage{lipsum}
\begin{document}
\begin{wrapfigure}{l}{0.5\textwidth}
\rule{4cm}{12cm}
\end{wrapfigure}
\lipsum[1]
\section{Hello}
Hello section text
\end{document}
Prints:
- How can I make it shift
\section{Hello}
to the left? - And more generally: never wrap any text in the new section, following wrapfigure?
Best Answer
With the text and image as they are,
wrapfig
needs a bit of help.You could tell it to stop wrapping after 29 lines:
But the result is rather squeezed:
A much better result in this case is to simply add
\clearpage
before the\section
and move it to the next page.