{wrapfigure} is an environment defined by the`wrapfig` package that allows text to flow around floats.

learn more… | top users | synonyms

27
votes
4answers
7k views

How to wrap text around a figure?

How to wrap text around a figure in LaTeX like this? Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean quis mi ut elit interdum imperdiet quis non ante. Sed imperdiet, sapien quis ...
17
votes
3answers
4k views

Will it ever be possible to use wrapfig with an enumerate or itemize environment?

wrapfig is incompatible with the enumerate and itemize environments. Is there a typographical reason not to wrap a list around a figure or is it a technical limitation of LaTeX? If it is a technical ...
17
votes
1answer
16k views

Handling of wrapfig pictures in LaTeX

Is there an way to avoid this behavior of the pictures This is have is wrap the picture: \begin{wrapfigure}{r}{0.5\textwidth} \vspace{-20pt} \begin{center} ...
9
votes
1answer
3k views

Strange space left above wrapfig figures

I'm using wrapfig to put a small figure at the start of each paragraph. For the first paragraph of the page, this lines up neatly with the top of the text. But for subsequent paragraphs, the figure ...
13
votes
2answers
3k views

Absolute positioning of wrapfig

In Microsoft Word, it is common to create a floating text box, separate from the normal body text, that can be placed anywhere on the page. The body text will then wrap around this text box so ...
12
votes
1answer
522 views

Lettrine and Wrapfig

How can I use lettrine at the start of a paragraph used in the wrapfigure environment. Consider the following code: \documentclass{article} \RequirePackage[demo]{graphicx} \usepackage{lettrine} ...
7
votes
2answers
437 views

Wrap around a logo at bottom right of page

I have a square logo placed on the bottom right of every page (placed using absolute positioning and tikz) and it's fairly big. I want it so that text flows / wraps around the logo - is it possible to ...
5
votes
1answer
1k views

Defining a custom ‘wrapfig’ environment

[ This is an updated version of http://stackoverflow.com/questions/3233031/latex-defining-a-custom-wrapfig-environment ] The wrapfig package interacts badly with the setup and teardown done by \begin ...
4
votes
3answers
721 views

Wrapped figure diverges from text level after sections

I have a big problem. I want to print an book with reportages. Every reportage has a headline (created by the section command), a teaser and an article. The teaser should be wrapped text and should ...
16
votes
3answers
1k views

How to wrap text around a figure? (revised)

This question has been asked before (and in fact I stole the diagram below from that question) but the answers are not sufficient for my needs (at least near as I can tell). What I want is the ...
14
votes
2answers
1k views

mdframed and wrapfig

Before starting the question, I apologize for the large pictures. I had to use some long text to demonstrate the problem. To generate something like: I used the following command: ...
6
votes
1answer
995 views

Wrapping text in enumeration environment around a table

I would like to wrap the text in an enumerate environment around a table, this is my actual situation (sorry for including so much code, but I wanted to give a precise idea of the number of lines in ...
8
votes
2answers
708 views

Apply \intextsep at top of page

In trying to provide an answer to this question: Two column trouble - positioning of figures and text, I realized that I need to shift the wrapfigure up to account for the extra spacing that the ...
6
votes
1answer
85 views

Wrapping two figures in one paragraph

I am trying to wrap two pictures in a paragraph, as shown in the two images below. The two red boxes show the desired locations for the two figures. Unfortunately, I cannot get the following code to ...
4
votes
2answers
4k views

Too much space around wrap figure

I am using the wrapfig package to have my text around the figure but there is too much space around it as you can see below. Here is the code that I am using, I looked at the wikibook on LaTeX for ...
3
votes
3answers
1k views

How to wrap around a figure in a theorem-like environment?

I want to illustrate my examples, which are set in a theorem-like environment. Is it possible to wrap the text and equations around the figures? I have read about several packages but I can't get them ...
6
votes
1answer
854 views

Textwidth wrong after wrapfigure

I have included a picture with wrapfigure and everything is fine - the problem is that in my next formula environment, the formula is totally wrong! It seems to me, that the width which I set in the ...
3
votes
1answer
2k views

Adding figure in framed or shaded environment

I am currently using the shaded environment from the framed package for large calculation digressions in my papers. \usepackage{framed} \newenvironment{digression}[1]{\begin{shaded} ...
2
votes
2answers
2k views

float left figure in titlepage

I try add a figure in the titlepage \begin{titlepage} \begin{center} \begin{figure}[h] \includegraphics[scale=0.15]{images/logo.jpg} \end{figure} ...
1
vote
1answer
248 views

Strange wrapfig behavior

I don't know how to explain this in words, but hopefully this MWE and attachment suffice. Basically, I don't understand why the second \rule doesn't look like the first and third \rule. I want it to, ...
0
votes
1answer
51 views

wrapfig how to designate where the figure should come and of what size exactly

This is a general question. I find that the wrapfigure environment is very tricky. It depends on where you put it and if you add things to the top part you can make a good wrapfig bad. I would like ...
12
votes
1answer
1k views

Wrapfigure-Minipage Woes: How do I correctly typeset wrapped text boxes within a \parcolumns environment modified for a two-sided document?

This is a follow-up question concerning an experimental chapter layout I'm trying to implement for a novel I'm writing. So. My initial problem of finding a way to modify the innards of the parcolumns ...
18
votes
1answer
1k views

Spacing around image

Knuth is on record that he incorporated approximately 100 typographical rules in TeX. I am struggling to discover the balance. Consider the figure below, What should be the amount of space around ...
9
votes
2answers
3k views

Wrapping text around multiple figures

I am a beginner in LaTex, but I have to to do this in a hurry: I need to write a macro to handle 2 cases (or one macro for both). 1st case: i have 1 - 3 pictures on the right side, and the left ...
7
votes
1answer
374 views

Advanced Wrapfig

Consider the following code and output. \documentclass{article} \usepackage{lipsum} \usepackage{graphicx} \usepackage{wrapfig} \begin{document} \begin{wrapfigure}{o}{0.5\textwidth} ...
4
votes
1answer
101 views

Having right and left wrapping floats nicely respecting page boundaries and margins

I was passing some documents I had in HTML to LaTeX for a better printout. (Same project as my previous question.) The documents use usual HTML/CSS floating images (sometimes the images are inside a ...
7
votes
2answers
3k views

Wrapfigure beamer style

I want to add a graphic plot to my slide, but if I do it with wrapfigure, I get no error massages, but the plot simply does not appear? Code of the TeX file, which uses beamerdefs.sty, I have also ...
6
votes
1answer
1k views

Prevent wrapfigure from wrapping the next section

Code: \documentclass{article} \usepackage[a5paper]{geometry} \usepackage{wrapfig} \usepackage{lipsum} \begin{document} \begin{wrapfigure}{l}{0.5\textwidth} \rule{4cm}{12cm} \end{wrapfigure} ...
6
votes
1answer
2k views

Adjusting left/right margins of a wrapfig

Is there a (simple) way to adjust the white space to the left or right of a wrapfigure? I'd like to reduce the whitespace on the left side of a right-floated figure. Adding \hspace moves the figure ...
6
votes
1answer
2k views

wrapfig Positioning (Footer is overlapping figure)

I have something like the following: Long paragraph with footnote.\footnote{footnote shtuff here} Another long paragraph without a footnote. \begin{wrapfigure}{r}{.5\textwidth} % figure shtuff ...
5
votes
1answer
825 views

Wrapfigure apparently creating dummy space on a following page

The example below is a newsletter with two news items. The first item has a wrapfigure to include a graphic. The second does not But the resulting PDF (made with PDFLaTeX) has a blank area close to ...
4
votes
2answers
2k views

wrapfigure cuts off images at the end of the page

I used the code from here to get text to wrap around images, but whenever I have a long image near the end of the page, it runs off the page and gets cut off. How do I fix this?
3
votes
1answer
159 views

How to wrap text around theorem box?

I'm using the thmtools to create theorem boxes. \usepackage{thmtools} \usepackage[unq]{unique} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{wrapfig} \usepackage{float} ...
3
votes
1answer
678 views

Typesetting errors with two wrapfigures on one page?

I have a document with the book documentclass, and I'm trying to include two wrapfigures on the same page, one on each side (ideally in adjacent paragraphs, but at this point I'm just trying to get ...
3
votes
1answer
173 views

Placing a tikzpicture next to an align

I have a tikzpicture with an accompanying explanation in a math align environment. The tikzpicture is small enough that I'd like the explanation to appear next to (specifically, to the right) the ...
3
votes
2answers
2k views

Wrapfigure not wrapping a description list

I want to write my CV in LaTeX. I would like to wrap the figure of my photo with the text that describe my personal information. I would like to wrapfigure with a description text. I'm using the ...
1
vote
1answer
806 views

Wrapfig and page breaks after section heading

I'm experimenting with typesetting "pull quotes" using wrapfig and noticed some strange behaviour. Under certain conditions, having a wrapfigure at the beginning of the first paragraph after a new ...
1
vote
1answer
1k views

Wrapfigure affects the rest of the document in environments

I have encountered a strange behaviour of wrapfigure, that I have isolated in the following example. I don't know if it's a bug or not. I have this latex source: \documentclass[a4paper]{article} ...
8
votes
3answers
353 views

Non Floating Figures

I want to stop my figures floating, but I still want to be able to have the caption to the side of them; mainly to save space and for presentation. The only way I know how to get the figure caption ...
6
votes
1answer
800 views

Wrap text around a picture except for the first line

As the following minimal sample shows, a text wrapping around a picture starts wrapping with the first line. Including the wrapfigure in the text leads to strange paragraph breaks. %---- ...
5
votes
2answers
434 views

soul's \ul{} breaks wrapfigure and textflow?

Please, I have a nice picture without that \ul{...}, but i need that. \documentclass{article} \usepackage{wrapfig} \usepackage{soul} \begin{document} \begin{wrapfigure}[3]{l}{30mm} \Huge 1 ...
4
votes
1answer
122 views

How to make adjustbox work correctly with wrapfigure?

I have an adjustbox environment which gives colored background to content. It doesn't play nicely with wrapfigure. It overlaps with the content. Below is the mew. \documentclass{scrartcl} ...
4
votes
1answer
507 views

wrapfigure in theorem-like environment

The following code does not create a wrapfigure within the thm environment. Is that because the latter is a list? \documentclass{book} \usepackage{amsthm} \usepackage{wrapfig} \theoremstyle{plain} ...
4
votes
1answer
17k views

Align figure to the right (with \raggedleft) while still centering its caption with respect to the image

I am wondering if it is possible to align an image to the right margin of the page (with \raggedleft) while still having it's caption nicely centered (with \centering) under the image (centered with ...
3
votes
1answer
194 views

wrapfigure in a newtheorem environment: Why not put in correct place?

This must be easy but I can't figure out why the "figure" is not put at the correct spot (in the example) with `wrapfigure'. \documentclass{article} \usepackage{graphicx} \usepackage{wrapfig} ...
3
votes
1answer
842 views

Floating TikZ picture within text in mdframed

When there is not enough space for TikZ picture at the end of a text, it will goes to the next page, and leaves an empty space after the text. Is there a standard method for putting TikZ picture in ...
2
votes
1answer
71 views

Wrapping text around a table in enumeration environment with cutout and parshape

I borrowed the code for my MWE from here. I want to put the table to right side and have difficulty in understanding parshape command. What is the purpose of 15 26pt\linewidth 26pt\linewidth ...
2
votes
1answer
655 views

Initial with wrapfigure — other idea?

The following minimal example shows how I'd like to make Initials in my document. I make it with wrapfigure, but it seems to be hard to adjust manually or measure and adjust the height and width ...
1
vote
1answer
50 views

DPI for imported bitmaps

I am importing a number of .png files into my document as follows: \usepackage{wrapfig} \begin{wrapfigure}{r}{0.5\textwidth} \centering \vspace{-1.5cm} ...