[Tex/LaTex] How to arrange image and text to appear side by side


I want to place an image on my document and have it appear, say, on the right part of the page with text flowing on the left. How can I do that with LaTeX? Just like one would do with HTML and images “floating” to the right (or left).

(when searching I found some similar questions which, however, were closed. I'm actually asking the question because I think it is a good question and should have a good answer on the site. Btw, assume I'm not using beamer nor anything fancy.)

Best Answer

The wrapfig package is perhaps the best package to provide such functionality. The following is an example of how to use such package

This is where the table goes with text wrapping around it. You may 
embed tabular environment inside wraptable environment and customize as you like.
\caption{A wrapped figure going nicely inside the text.}\label{wrap-fig:1}
Figure~\ref{wrap-fig:1} is a wrapped figure.

Which produces the following output:

enter image description here

Related Question