The problem is to align an image right to a variable length of text at the top. Here is a minimal example:
\documentclass{minimal}
\usepackage{lipsum}
\begin{document}
\parbox{0.8\textwidth}{\lipsum[1]}%
\qquad%
\parbox{0.1\textwidth}{\rule{1cm}{1cm}}
\end{document}
I need the image to be in one line with the first sentence. I know I can individually raise the box. However, I'm searching for a general approach because I have quite a few of these cases in my document.
\parbox[t]{0.8\textwidth}{\lipsum[1]}%
?