I'm writing a letter, and I need to insert a large image. I have some specific text that must wrap around this image.
The wrapfig environment works as far as floating the image (because it's too large for the page that it would normally fall on, and it's moved to the next page as a result). It also appears that text wraps around the image, as I would expect. The problem is, that the text that wraps the image is not the particular text that I need to wrap it with.
As an attempt to control the text that wraps the image, I introduced a minipage so the image and the text would be contained together. The correct text is kept next to the image in this case, however, the image no longer floats, and runs off the page. So then I tried containing the minipage inside of another floating environment (a table), but tables are not permitted in the letter class.
I have a complete sample that I will post later (it's not with me right now) -- but in the meantime, are there any suggestions?
General ⇒ Floating a minipage in a letter
Floating a minipage in a letter
Last edited by jgombos on Thu Oct 09, 2008 8:52 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Floating a minipage in a letter
If you could provide a minimal working example (MWE), the problem would be much more clearer. With the code we could see wherre something is going wrong and correct that part.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Floating a minipage in a letter
Code: Select all
\documentclass[12pt]{letter}
\usepackage[margin=2cm]{geometry}
\usepackage{graphicx}
\usepackage{wrapfig}
\signature{Kermit the Frog}
\address{Kermit the Frog\\
123 sesame street\\
New York, NY 12312}
\begin{document}
\begin{letter}{Cookie Monster\\
345 sesame street\\
New York, NY 12312}
\opening{Dear Cookie Monster,}
My notarized photo is below:
%\begin{table} %%Tables do not work in letter class%%
\begin{minipage}{7.5in} % Needed to bind the text with the photo, but prevents floating
\begin{wrapfigure}{L}{12cm} % Note the L in caps to allow floating
\begin{center}
\rule{11.8cm}{22cm} %box that simulates a picture that is too high for the first page
\end{center}
\end{wrapfigure}
I certify that I have seen the original document and this copy is a
complete and accurate copy of the original. Where the document
contains a photograph, the photograph contained in the document
certified bears a true likeness to the person requesting this
certification.
\end{minipage}
%\end{table} %%Tables do not work in letter class%%
This is some text that should not be wrapped around the photo.
\closing{Sincerely,}
\end{letter}
\end{document}