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

learn more… | top users | synonyms

33
votes
3answers
5k views
+50

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 ...
1
vote
1answer
62 views

Wrap text around an irregular shape

I'm trying to wrap some text around a raspberry shaped image that is placed to the right on the page. I would realy liked the text to follow the shape of the Raspberry. Is this possible? Below is a ...
0
votes
1answer
68 views

Picture is not fit as want to

Hello I put the image and test below codes but it is not adjusted as I want and it is smaller than expect or bigger. I need the picture cover half of the hight of the page at least. ...
0
votes
1answer
214 views

Wrap figure moves all the following text

Eventhough I have found few similar question I still cannot handle my problem. Need help. I want simply to place couple of lines on the right from my picture and begin new page with new section ...
0
votes
1answer
201 views

Add biographical summary in the end of a paper

I am writing a paper using spring latex template. But i cannot add an author's biography using \begin{biography} ... \end{biography}, the spring class seems not providing biography environment. I find ...
2
votes
0answers
41 views

Text around figure

I am very new to Latex. I tried many answers about wrapping text around figure, but none of them worked. I copied the codes, but with the "lipsum", it worked perfectly. However, when I replaced ...
0
votes
1answer
51 views

How to do ( figure and text)

How do I place the figure aligned with the text?
0
votes
0answers
24 views

Floating figure with transparent pixels

I need to include a floating picture in my document. The included picture represents a circular logo, where pixels outside of the circle are transparent. I'm currently using the following code: ...
3
votes
1answer
50 views

How can I draw slide with dashed hidden lines

I tried to draw hidden lines as shown in this picture but i could not figure out how to do it. Please help me to fix this problem, I try this code \begin{document} \begin{tikzpicture}[z={(3.85mm, ...
1
vote
1answer
79 views

Tikzpicture in wrapfigure affects rest of the pages

The wrapfigure does its job. I wanted two tikzpictures to be at the right side of the page. Like this: But then if I look at the next page, it's like the wrapfigure just goes on at the right side: ...
2
votes
1answer
29 views

Flush wrapfigures in an automatic way?

This is a follow up of Typesetting errors with two wrapfigures on one page?. Consider the case here: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{wrapfig} \def\a{One two three ...
0
votes
1answer
171 views

Wrapfigure placing image on the wrong side of page

I'm using wrapfigure to place images on the outside (o) edge of my document. Mostly it seems to work fine but sometimes an image gets placed on the wrong side. You can see the problem on page 3. The ...
3
votes
1answer
34 views

Using bytefield with wrapfigure

I want to position a bytefield at the right side of the page. For that reason I use the wrapfig package. If I make the wrapfigure smaller than 0.8\textwidth it doesn't work. If it's 0.8\textwidth (or ...
0
votes
0answers
61 views

double column wrapfigure

I tried many different ways of solving this problem. I am getting really desperate. I am new to TeX and I am using overleaf in my browser as my LaTeX tool. My document is in the ieeetran journal ...
1
vote
0answers
46 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
169 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} ...
6
votes
2answers
155 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
81 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
43 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
47 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
31 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
52 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 ...
0
votes
0answers
23 views

Can a text-wrapping figure span (partially) across two columns without manual intervention?

The answer for Wrap text around wide figure in two column responds that it is possible to use a wrapfigure environment (from the wrapfig package) across multiple columns through manual intervention, ...
3
votes
1answer
67 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
24 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} ...
1
vote
0answers
42 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
52 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
36 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 ...
3
votes
1answer
98 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
47 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
103 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 ...
21
votes
1answer
29k 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} ...
1
vote
0answers
185 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
78 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
128 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
68 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 ...
6
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
249 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
933 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 ...
0
votes
0answers
85 views

Wrong captype of wraptable

I got a strange problem: I have a wraptable, that is constantly being rendered as a figure. \begin{wraptable}[18]{O}[3\baselineskip]{5cm} ...
2
votes
1answer
110 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 ...
4
votes
1answer
161 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
42 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 ...
8
votes
2answers
3k 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
139 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} ...
3
votes
1answer
42 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
414 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 ...
6
votes
1answer
520 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 ...
0
votes
0answers
191 views

Wrapfig in LyX causing error “You can't use a prefix with '\begingroup'”

I'm experiencing an annoying issue concerning a book inside LyX with multiple files (one per chapter) and the use of wrapfig. The file ch4.lyx contains wrapfigure floats. When processing this file ...