Questions tagged [wrapfigure]

{wrapfigure} is an environment to allow flowing text around figures, usually defined by the {wrapfig} package or the {wrapfig2} package. To make clear, which version is used, you should also use tag {wrapfig} or {wrapfig2}.

The wrapfigure environment provided by package wrapfig or package wrapfig2 supports flowing text around figures. The packages also define wraptable for flowing around tables and the more general wrapfloat environment. Package wrapfig2 additionally wraptext for flowing around boxed text.

743 questions
110
votes
4 answers

Handling of wrapfig pictures in LaTeX

Is there a way to avoid having a picture that trails off the end of a page, as in this example? This is how I wrap the picture: \begin{wrapfigure}{r}{0.5\textwidth} \vspace{-20pt} \begin{center} …
mortenstarck
  • 2,027
38
votes
3 answers

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} \lipsum[1] \section{Hello} Hello section…
user4035
  • 5,035
  • 6
  • 40
  • 57
16
votes
1 answer

How can I reduce top margin of wrapfigure

I'm writing a document with a wrapfigure and its part looks like this: ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ ~~~~~~~~ ________ ~~~~~~~~~~ | | ~~~~~~~~~~ | Figure | ~~~~~~~~~~ |________| ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ How can I reduce…
a user
  • 1,502
14
votes
1 answer

Wrapfig w/ Non-Ugly Page Breaks

I have written a modified wrapfig package, I was a little tired of having ugly page breaks when a wrapfig object coincides with the end of the page. It works by putting the content into a box, measures the height, and then uses the needspace package…
14
votes
1 answer

Advanced Wrapfig

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

White space in subsequent pages after wrapfigure

I have used \begin{wrapfigure} on one of my pages. Subsequently, the same amount of space is left (as white space) on all other pages. The code I've used (it's a \documentclass{article}):…
Robert
  • 503
9
votes
2 answers

wrapfigure - image jumps at documents end

I'm new to LaTeX and I've got my first issue with wrapfigure. I want to have an image on the right side of my document. Text on the left. HEADLINE text text text text text text text text text text text text text IMAGE IMAGE text text text IMAGE…
9
votes
1 answer

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} \includegraphics[width=0.2\textwidth]{mickey} …
SoftTimur
  • 19,767
9
votes
1 answer

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…
zongxian
  • 467
7
votes
1 answer

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 generally bigger than the standard text…
6
votes
1 answer

Wrapping text around figure

I have the following command to display EPS figures and wrapping text around the figure: \begin{wrapfigure}{r}{0.5\textwidth} \begin{center} \includegraphics[width=0.48\textwidth]{figures/flowchart} \end{center} \caption{A…
M.M
  • 622
6
votes
2 answers

wrapfig across sections

I need to add a long image to the side of the document, but the text does not seem to be wrapping around the…
weasel
  • 257
6
votes
1 answer

Wrapping and aligning pspicture in the top left corner with first line text

I want to align the pspicture into the top-left corner of the page. Currently it is slightly below the header text when I want those two to be aligned up together. The table for the Email/Website information is slightly indented so I want to remove…
dan2k3k4
  • 1,341
6
votes
2 answers

Why is text not wrapping around image?

How come \lipsum works but not actual text? I would like to be able to put my own text in. This question came out of not getting this answer to work. Thanks so much for any help. \documentclass{article} \usepackage{graphicx,lipsum,wrapfig}%…
Lydia
  • 63
6
votes
1 answer

Wrapfigure pushed away by a small paragraph

Please somebody explain me why…
1
2 3 4 5 6 7 8