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

learn more… | top users | synonyms

25
votes
4answers
6k 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 ...
13
votes
1answer
3k 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 ...
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 ...
7
votes
2answers
407 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
996 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 ...
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
986 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
904 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 ...
13
votes
1answer
12k 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} ...
8
votes
2answers
634 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 ...
7
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 ...
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
708 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 ...
4
votes
3answers
646 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 ...
3
votes
1answer
1k 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} ...
12
votes
1answer
995 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
956 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
323 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
74 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 ...
6
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

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
738 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
123 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
524 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
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
674 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
982 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} ...
5
votes
1answer
721 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} ...
5
votes
2answers
389 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
391 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
15k 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
164 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
750 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
633 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
201 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, ...