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?
Asked
Active
Viewed 580 times
1
1 Answers
2
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.
nox
- 4,160
- 12
- 26
-
I think the OP wants to use
centernotfigurehere. (or at least{figure}[htp]– David Carlisle Jun 21 '18 at 09: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



\linewidthdoesn't allow the text to wrap around the picture. – egreg Jun 21 '18 at 10:02