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

learn more… | top users | synonyms

1
vote
0answers
88 views

Wrap text around with newenvironment

I am trying to create a new environment with a background color. The issue is that I want text to be wrapped around it but I can't do it. The minimum working example is as follows ...
3
votes
1answer
590 views

How do you wrap text around a figure inside an enumerate list structure?

My example is this: \documentclass{amsart} \usepackage{graphicx} \usepackage{wrapfig} \begin{document} \begin{enumerate} \item \begin{enumerate} \begin{wrapfigure}{l}{0.5\textwidth} ...
7
votes
2answers
579 views

Inserting pictures in tcolorbox

I have a picture that I would put in a tcolorbox, but the image is too large and comes out. The code: \documentclass{report} \usepackage{geometry} \usepackage{float} \usepackage[italian]{babel} ...
2
votes
1answer
216 views

wrap logo and sender's address with scrlttr2

I have a problem with scrlttr2 and Lualatex when I use a logo and the english manual of Koma-script don't help. I want to have it next to the sender's address, partly in the margin, and with the ...
1
vote
1answer
655 views

Wrapfigure in an enumerate environment. [duplicate]

I want to use wrapfigure in the enumerate environment. For example, \documentclass[11pt, a4paper]{article} \usepackage{graphicx} \usepackage{float} \usepackage{wrapfig} \begin{document} \normalsize ...
1
vote
2answers
73 views

How to custom wrapfigure environment in preamble?

I would use the following code many times in my latex note. \begin{wrapfigure}[5]{r}{10ex} \vspace{-2ex} \includegraphics[width=10ex]{any_picture.jpg} \end{wrapfigure} However it will be clumsy if ...
1
vote
0answers
72 views

latex wrapfigure changes text font into bold [closed]

I had a very strange experience with the latex package wrapfig. When I put my figure using this package, it turns the font of the whole page into bold. It can be seen in the attached image that text ...
1
vote
1answer
85 views

How to avoid (wrap) figures moving out of sight

Using the code below, my figure moves out of the paper borders. As I understand, correction of figure position is best to do when writting is finished. But is it possible to forces figures - a ...
5
votes
1answer
526 views

Put a photo on the top right corner of a page

I have the following code to show a picture around by some textes. \documentclass{article} \usepackage{wrapfig} \usepackage{lipsum} \begin{document} \begin{wrapfigure}{r}{4cm} \begin{center} ...
0
votes
0answers
40 views

Problem wrapfigure in twocolumn

MWE, \documentclass[a4paper,11pt,twocolumn]{book} \usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage{lipsum} \usepackage{wrapfig} \usepackage{graphicx} \begin{document} ...
2
votes
0answers
102 views

Image and wrapped text over two columns

I'm working on a longer document set for two columns. Each chapter is supposed to start with an image and text wrapping around the text - all of this set in ONE column. Using \onecolumn \twocolumn ...
4
votes
1answer
296 views

\wrapfigure not working with 2nd figure

I'm trying to use "wrapfigure" in an environment where there is not enough text to cover the height of the graphic. I've tried resizing the graphic, but it loses definition and looks horrible. Here is ...
1
vote
1answer
61 views

Header and footer for a figure

(I'm new to latex and don't know the right keywords to search.) I would like to put a header and footer lines to my figures (floats), instead a framebox, since they sometimes takes longer than a whole ...
4
votes
1answer
156 views

How to wrap text around chemscheme schemes?

Is \usepackage{wrapfig} compatible with \usepackage{chemescheme}? I'm using chemescheme to number my compounds, but need to wrap the text around some schemes. Suggestions? e.g. (but this doesn't ...
1
vote
0answers
82 views

Floating Figure inside Environment

I have a problem while trying to use wrapfigure or floatftl in a typical Definition environment. More concretely, I try something like this: \begin{floatingfigure}[r]{5cm} ...
2
votes
2answers
320 views

How to wrap text around a matrix?

In the middle of a paragraph (text is justified), I have a 5-row matrix. I've been trying to find a way to wrap the text in the paragraph around the matrix, so there aren't large gaps above and below ...
1
vote
0answers
615 views

wrapfigure gives : wrapfigure used inside a conflicting environment + ! Illegal unit of measure (pt inserted)

I'm getting the following error message Package wrapfig Warning: wrapfigure used inside a conflicting environment on in put line 2696. ! Illegal unit of measure (pt inserted). <to be read ...
0
votes
1answer
177 views

Side-effects of adding tcolorbox and enumerate inside wrapfigure

I am pleased to have your help from ![my questions][A lot of unexpected spaces between paragraph after inserting colorbox such as ![this answer][http://tex.stackexchange.com/a/219787/14409] or ![the ...
3
votes
1answer
211 views

tcolorbox and enumerate inside wrapfigure generating unexpected spaces below

I have had a problem of unexpected spacing below the object with tcolorbox inside the wrapfigure environment. You can see the attached snapshot. Below is my MWE. ...
5
votes
2answers
2k 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 ...
3
votes
1answer
105 views

Breqn and wrapfig incompatibilitiy

Hello I finally arrived to this awesome place :) , I noticed that breqn does not go very well with wrapfigure: \documentclass[]{article} \usepackage{mathtools} % Math packages ...
8
votes
2answers
1k 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 ...
5
votes
1answer
1k views

Wrapfig and multicol — how to avoid wrapping text?

I'm writing a report in two-column format using multicol I'm placing some figures in the text using wrapfig It works fine, when the figure is e.g. 50% of the column width However, if I try to ...
2
votes
2answers
1k views

Adding image next to text in table

I have a text in a 3 row table like as follows \begin{wrapfigure}{r}{3in} \centering \includegraphics{style3color.png} \end{wrapfigure} \begin{tabular*}{7in}{l@{\extracolsep{\fill}}r} a \\ b \\ c ...
2
votes
1answer
446 views

I keep getting ''missing number treated as zero'' and ''illegal unit of measure (pt. inserted)'' error :(

\begin{wrapfigure}{r} \centering \includegraphics{DoorNumbers.png} \caption{Door assignment} \end{wrapfigure} Can anyone tell me what im doing wrong? i get it at the \centering line. thanks in ...
5
votes
1answer
781 views

How to end wrapfigure environment

I used wrapfigure when I want insert a figure, but can's stop it after the figure. I used the code \begin{wrapfigure}[8]{r}{20cm} \documentclass[landscape,12pt,a3paper]{article} ...
0
votes
0answers
58 views

Nesting wrapped textboxes

for formmating a piece of poetry, I need to nest a textbox inside another one, and that the outer text wrapps both left and right of the inner textbox, as it is to be in the center, I would like to do ...
12
votes
2answers
6k 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} ...
2
votes
1answer
200 views

Wrapfigure issue of table & figure in 1 line

I tried to use wrapfig package to arrange a small table in the left & a figure in the right in 1 line while text floats around them but failed. My code is: \documentclass[10pt]{article} ...
4
votes
1answer
68 views

Natbib breaking wrapfig

I am using natbib for citation and am encountering some problems with wrapfigures (or wraptables) which sit next to paragraphs starting with natbibs \citet or \citep (and probably other citation ...
2
votes
1answer
463 views

Avoid figures encroaching on page numbers with LyX

I'm using LyX and have figures in floats and wraps but some of them are too high on the page when converted to PDF and overlap with page numbers. Is there a way to avoid this and respect the text ...
10
votes
1answer
2k views

Problem with wrapfig and itemize

If I use an image with wrapfig into or near an itemized list, the result is the image overlapped to the text (see picture). I red a lot of posts related to wrapfig and itemize incompatibility but no ...
7
votes
1answer
240 views

How can I wrap equations around a TikZ picture?

I am trying to arrange the image to be on the left of the equations, and I'd be grateful if someone could point me in the right direction. I have tried wrapfig, but I really couldn't manage to ...
1
vote
1answer
77 views

does wrapfig package conflicts with OSX 10.9.5?

I used once the wrapfig package on a windows machine. but on the mac it holds whitespaces beneath the wrapped figure and in this case look of the document is completely insufficient anymore! please ...
0
votes
0answers
166 views

CV “Medium Length Professional” - change header position

I'm writing a new CV with the following template: Now, I would like to add a photo in the top-right corner, i.e. same size as the header with name and address. I tried wrapfigure but this does not ...
1
vote
1answer
628 views

Titlerule and Wrapfig Interaction

Hey y'all I need some help! I would like to have my section headers have a titlerule underneath, but titlerule isn't playing nice with wrapfig. I'm using wrapfig and tcolorbox to make a sidebar, and ...
1
vote
1answer
185 views

\wrapfigure makes my image to disappear

I try to add an image with text side by side. I've googled a lot and found that the most easy way is to use the package \wrapfigure. Actually, it is a mathematical school exercise with the solution ...
3
votes
1answer
198 views

Wrong behaviour of wrapfigure environment when using “placement = outer”

I'm trying to place some pictures inside my text using the wrapfig package of Donald Arseneau with KOMAscript of Markus Kohm. The intention is to place the pictures partly in the margin area at the ...
1
vote
1answer
123 views

Caption in wrapfigure spills into text

The caption in my wrapfigure spills into text. Is this fixable with wrapfigure or do I need to use something else? Screenshot: MWE (sorry for the mess in the preamble, but some of that is probably ...
6
votes
1answer
202 views

Wrapfigure pushed away by a small paragraph

Please somebody explain me why this \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{lipsum} \usepackage{graphicx} ...
0
votes
1answer
132 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 ...
0
votes
1answer
354 views

Wrapfigure, \baselineskip if not top of page

TL;DR The wrapfigure environment aligns wrapped content differently, depending on if the page is still empty or not. If the page is not empty, it will lower the wrapped content by \intextsep. I am ...
2
votes
1answer
100 views

Putting table in a theorem environment sends it to the very end of the document

I'd like to illustrate my \begin{example} \lipsum[2] \end{example} with a table yet adding the table to the environment sends it to the very end of the document: \documentclass{article} ...
1
vote
1answer
83 views

Adding a caption to graphics in parshape

This question is the continuation of the one posted here. How can I add a caption to the figures as shown below?
6
votes
1answer
190 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 ...
5
votes
2answers
486 views

How to float box of text on the right side without leaving a gap throughout the rest of the document?

Problem I am trying to create a document where a box of text will float on the right side. The rest of the text within the document should flow around the box. My searches have lead me to ...
2
votes
1answer
172 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 ...
12
votes
1answer
1k views

How can text wrap around a figure in tikzposter?

While designing a poster with tikzposter I stumbled over a small issue. Usually one can use the wrapfig package to let text wrap around figures but in a box in tikzposter this seems to fail completely ...
5
votes
1answer
131 views

Wrapfigure with tikzpicture not appearing where it should

I am trying to insert insets of commutative diagrams into my tex, using wrapfigure and tikz. The first commutative diagram (inside a wrapfigure environment) appears as it should, but the second ...
5
votes
2answers
558 views

How to correctly use geometry package with wrapfig package to avoid wrong layout

I am learning the wrapfig package. I noticed that when I include my common latex file, which has common definitions, the text no longer wrap around the figures, but the figure are pushed to the right ...