Question is very simple. I want to \includegraphics and align it to the right, while having some text or items on the left.
Is there a simple command for this??
Edit
Here is what I did from previous answers/comments:
\documentclass{beamer}
\begin{document}
\frame {
\frametitle{name}
\noindent
\parbox{5cm}{some text}
\hfill
\rule{2cm}{3cm}
}
\end{document}
This creates a space for the picture on the right and a line of text on the left side, but at the bottom of the picture. I want to align it to start from the top of the picture. Which command should I use?
Best Answer
will put some words flush left and an image flush right on the same line.
To adjust the alignment you can use
[t]
on the\parbox
so it aligns on its top row and use\raisebox
to adjust the image. Moving it by its natural height moves the alignment to its top edge but that may be too far: on the second frame the alignment point is one baseline skip down from the top