I am working on image and text(description). I need to arrange image and text side by side but in beamer class. It is normal article with a4 size paper. How can i implement it?
Asked
Active
Viewed 1.0k times
4
1 Answers
2
Check this:
\documentclass{beamer}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{lipsum}% just to generate some text
\begin{document}
\begin{wrapfigure}[10]{r}[0pt]{4cm}
\includegraphics[width=0.9\linewidth]{fig}
\end{wrapfigure}
\lipsum[2]
\newpage
\begin{wrapfigure}[10]{l}[0pt]{4cm}
\includegraphics[width=0.9\linewidth]{fig}
\end{wrapfigure}
\lipsum[2]
\end{document}
in article.cls file also it will work:
\documentclass{article}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{lipsum}% just to generate some text
\begin{document}
\begin{wrapfigure}[10]{r}[0pt]{4cm}
\includegraphics[width=0.9\linewidth]{fig}
\end{wrapfigure}
\lipsum[2]
\newpage
\begin{wrapfigure}[10]{l}[0pt]{4cm}
\includegraphics[width=0.9\linewidth]{fig}
\end{wrapfigure}
\lipsum[2]
\end{document}
Mu30 murugans2katgmail
- 2,155
-
I m using below code and getting image is up and text (in my case itemlist is below). Just to give more info, i need to use my image and text in one mdframed. – manish Apr 03 '12 at 04:50
-
See inside wrapfig.sty, there is more information about wrapfigure coding. – Mu30 murugans2katgmail Apr 03 '12 at 06:28
-
beamerclass, or not? – Caramdir Apr 03 '12 at 04:08