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

beamer

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?

Best Answer

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}
Related Question