Search results
Wrapping text around figures. At times, it might be desirable to wrap text around a float (a figure, in our case) so as not to break the flow of the text. There are a number of packages in LaTeX to accomplish this task, though they require some amount of manual tuning in most of the cases.
You can do this automatically by defining a command (in the preamble) that stores the figure content in a savebox, tests the height of the box, then forces a page break if necessary. See the following example: \documentclass{article} \usepackage{wrapfig} \usepackage{lipsum}
wrapfig – Produces figures which text can flow around. Allows figures or tables to have text wrapped around them. Does not work in combination with list environments, but can be used in a parbox or minipage, and in twocolumn format. Supports the float package. Sources. /macros/latex/contrib/wrapfig.
How do I wrap text around a figure? As demonstrated in the example provided below, you can use the wrapfig package to automatically wrap text around a figure (including the figure caption). Note: The example uses one of the graphics files (example-image.pdf) provided by the mwe package.
In this tutorial, we are going to explain how to do so inside a LaTeX document. Wrapfig package — Produces figures where text can flow around. For this purpose, we will use the wrapfig external package and its environment wrapfigure.
Here we present a short example of how to use the 'wrapfig' package to automatically wrap text around a figure (including the figure caption). The example shows left and right aligned figures with wrapped text, and is available to open as a template if you want to try it for yourself.
17 maj 2010 · When I wrap my text around a figure I cannot get it to wrap around the correct text. Basically, I want to have the text in the section the figure is in wrap around it, but when I compile it my figure ends up being farther down the page next to text in another section. 1.