{wrapfigure} is an environment defined by the`wrapfig` package that allows text to flow around floats.
22
votes
4answers
4k 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
1answer
696 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 ...
14
votes
3answers
687 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 ...
13
votes
2answers
3k views
Caption of figure in marginpar and caption of wrapfigure in margin
I'm writing my master thesis and have run into trouble with the layout of captions in relation to the margins. I have two main questions:
How can I make the caption text of an figure placed in a ...
11
votes
2answers
2k 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 ...
11
votes
1answer
730 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 ...
10
votes
2answers
719 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:
...
8
votes
1answer
1k 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 ...
8
votes
2answers
2k 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
3k 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}
...
7
votes
1answer
123 views
wrapfigures and quote environment not working together
I want to have a figure floating next to a block quote. So I used the wrapfig package and the quote environment.
If you typeset the following example, you will see that the figure is printed on the ...
7
votes
2answers
457 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
176 views
hangindent + wrapfig = bad spacing?
I am using the wrapfig package in order to place some text on the right side of my paragraph:
\documentclass{article}
\usepackage{wrapfig}
\begin{document}
\begin{wrapfigure}{r}{0pt}
...
7
votes
1answer
578 views
wrapfigure problem: text over figure
I am a relatively new LaTeX user, so bear with me. I am using wrapfigure to present figures in a grant application (read: space is at a premium). All of a sudden, one of my figures is being ...
7
votes
2answers
310 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 ...
7
votes
1answer
779 views
Floating wrapped figure in a twocolumn page
I am creating a big composite book \documentclass[A4,twocolumn]{book}. I need wrapped floating figures (and tables) over both columns.
I know the enviroment figure*, but the full width of a page is ...
6
votes
1answer
90 views
Wrapfigure and Math
Has anyone noticed that when using wrapfig around math environments (align, gather etc), when the argument is passed to constrain the number of 'lines', it fails to consider that math lines are ...
6
votes
1answer
3k views
fine tuning of a wrapfigure
when no other solution seems available, fine tuning by hand may be helpful. Lately, I was trying to raise the content of a wrapfigure becasue it was eating the bottom margin. I had something like:
...
6
votes
1answer
81 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}
...
6
votes
1answer
1k 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 ...
6
votes
1answer
289 views
Margin note over body text
I'm interested in putting marginal notes that seems like a post-it in the margin of a document.
No problem at all if they are simply made with \marginpar and playing with margin width and separation.
...
6
votes
2answers
862 views
Make figure stick out past the margin
I want to use wrapfig to insert a figure which sticks out into the margin. This does not work, it causes the figure to appear at the end of the text:
{\addtolength\textwidth{1in}
...
6
votes
1answer
381 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 ...
6
votes
1answer
724 views
Fixing wrapfig caption alignment?
I'm using wrapfig for the first time, and having a problem with its alignment of captions. As far as I can figure, what seems to happen is: if a caption is short enough that it fits it a single line ...
5
votes
2answers
3k views
White space under wrapfigure caption
Wrapfigure environment has excessive whitespace BELOW the caption. Inserting negative vspace just shifts the position of the caption relative to the image, actually increasing the 2+ lines of ...
5
votes
1answer
67 views
Wrapfig bug when immediately followed by citation
I noticed that with wrapfig, if the first text is a citation or cross reference, wrapfig ignores the entire paragraph and the paragraph spools over the top of the image.
Don't ask me to put a full ...
5
votes
2answers
281 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
...
5
votes
1answer
66 views
Is xskak compatible with wrapfig?
I would like to show some (chess) moves, wrapping them around the resulting chessboard. The following code:
\documentclass[twocolumn]{article}
\usepackage{xskak}
\usepackage{wrapfig}
...
5
votes
1answer
604 views
Can't get this caption right (wrapfig + floatrow)
I'm trying to get a caption to span the figure width on a wrapfig environment. But for some reasons it just won't go. Here is my code and a graphical representation:
...
5
votes
1answer
834 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 ...
5
votes
1answer
338 views
Text not spanning full page after wraptable
I wonder why latex doesn't go back to full textwidth after a table that was added in a wraptable?
The actual code where I experience this problem is here: http://pastebin.com/CRjHMZdT
I would ...
5
votes
1answer
445 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
1k views
Create layout avoiding overlapping floating wrapfigures
I'm writing companion notes for some beamer presentations. For each slide in a presentation, the document has a small picture of the slide, along with a text explaining the slide. For some slides, the ...
5
votes
2answers
148 views
Wrapping images in text without inducing ugly justified text
I am trying to put a small image inside a paragraph. I don't care where it goes in the paragraph as long as it is on the right and text flows around it. I don't want it before or after the text.
...
5
votes
1answer
183 views
wrapfigure within an exam
I am trying to float a figure using wrapfigure within an exam document using minipage. If I don't use a minipage, then the exam questions do not wrap around the figure. When I use minipage as in the ...
4
votes
3answers
502 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 ...
4
votes
3answers
419 views
Parbox as an initial
Similar to my last question Initial with wrapfigure -- other idea? I would like to create a wrapped environment in which I can take a \parbox or minipage environment.
The following code shows the ...
4
votes
1answer
697 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 ...
4
votes
2answers
1k views
How to eliminate excessive vertical space in wrapfigure?
Compiling the following document using xelatex results in unwanted vertical space above the wrapfigure caption. Removing either the inclusion of the polyglossia package or \centercaption usage ...
4
votes
1answer
1k 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 ...
4
votes
2answers
1k views
Wrap a wrapfigure and text by a border?
Is it possible to wrap a wrappicture with some text nearby by a frame?
4
votes
1answer
507 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
1answer
224 views
Horizontally centered figures in twoside margin of book using wrapfig
I would like to put figures in the outer margins of a book. I am using wrapfig to do so, but the figures are aligned differently on even and odd numbered pages. On odd pages, they align based on the ...
4
votes
1answer
148 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
72 views
Wrap caption around image and wrap text around this construction
Package wrapfigure aligns capture under the image and caption is big. Making a full size picture does not make to much sense due to a very little amount of details so I would like to wrap image and ...
4
votes
2answers
455 views
Wrapfig places picture at end of document
I'm trying to use a wrap fig to place an image next to some text. But when it compiles the image gets placed at the very end of the document several pages away from where it is supposed to be.
The ...
4
votes
1answer
2k views
Wrap text around pseudocode
I use algorithm/algorithmic packages to write some pseudocode. The width of the box spans across the entire page and I was wondering if there is any way to constrain it (since the actual code doesn't ...
4
votes
1answer
197 views
Problem with layout after including pictures
I can't resolve the problem with including pictures. When I add a picture by using \includegraphics my text doesn't flush to the bottom (as it should) but it move up. It happens especially when I add ...
4
votes
0answers
190 views
Wrapping Margin Notes [closed]
I'm writing a small list of things and want to insert a small kind of box into the margin on right side of the list.
I'd like it to behave more or less like this:
If it fits into the margin fine.
If ...
4
votes
0answers
885 views
Wrapfig alignment argument is not being obeyed [closed]
So I've been working on a how-to guide and most of the images seem to be aligning correctly withing the \wrapfigure{} sections, until I reach this section:
\documentclass{article}
...

