# Text through figure [duplicate]

I started a new document in which I'm working with two columns. I would like to insert figures in a column (using the wrapfig). But,.. text is overlapping my figure. Can someone explain why this happens and how it should be solved?

• Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. In particular, please add a minimal working example (MWE) of what you've tried so far. Not an image of your code, but something we can cut and paste, please. – CarLaTeX Jun 21 '18 at 9:14
• Surely a width equal to \linewidth doesn't allow the text to wrap around the picture. – egreg Jun 21 '18 at 10:02

The wrapfig package is used to allow text to wrap around figures. This is definitely not where latex shines and, also, obviously not what you want here. Just don't use the wrapfig package for this picture and use the usual figure environment:

\documentclass[twocolumn]{article}

\usepackage{graphicx}
\usepackage{lipsum}

\begin{document}
\lipsum[1]
\begin{figure}[htp]
\includegraphics[width=\linewidth]{example-image-a}
\end{figure}
\lipsum[2-5]
\end{document}


edit: From David Carlisle's suggestion. The [htp] tries to position the figure here. If this is not possible, then the second option is tried: top position. If that fails as well, latex will put the figure on a seperate page for figures.

• I think the OP wants to use center not figure here. (or at least {figure}[htp] – David Carlisle Jun 21 '18 at 9:41
• Thanks for the respons! You're totally right. The figure environment does the work! – Ard Schakel Jun 21 '18 at 11:43
• @ArdSchakel If this answer satisfies your needs, please accept it so it is not visible in the unanswered questions section. – nox Jun 21 '18 at 11:47