Graphics, Figures & TablesWrap Image with Text

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
TesTT
Posts: 12
Joined: Wed Aug 15, 2012 6:52 pm

Wrap Image with Text

Post by TesTT »

Hey,

I am trying to accomplish something like this:
image-text.jpg
image-text.jpg (163.06 KiB) Viewed 2338 times
I want to visualise some stuff in a proof, but to be honest I don't really know how to format my text like that.

Help is appreciated! :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

TesTT
Posts: 12
Joined: Wed Aug 15, 2012 6:52 pm

Wrap Image with Text

Post by TesTT »

I found a solution:

Code: Select all

\usepackage{wrapfig}

\begin{wrapfigure}{r}{0.5\textwidth}
  \begin{center}
    \includegraphics[width=0.4\textwidth]{image1}
  \end{center}
  \caption{Image1}
\end{wrapfigure}
Thanks anyway.
Last edited by Stefan Kottwitz on Wed Aug 15, 2012 7:57 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

Wrap Image with Text

Post by Stefan Kottwitz »

Great that you found it out, and thanks for posting your solution.

Btw. in figures I prefer to use \centering instead of {center} environment, because the latter is based on \centering but adds vertical space before and after, because it's intended to be used within text.

Stefan
LaTeX.org admin
Post Reply