# [Tugindia] Figure/Text Side by Side how to

Duvvuri Venu Gopal venugopal_duvvuri at rediffmail.com
Thu Nov 24 05:05:46 CET 2005


The solution is very simple. put \hfill after the first \end{minipage}.
there is no need for the \hspace command.;)

D. Venu Gopal

On Thu, 24 Nov 2005 Sreejith Pulloor wrote :
>TUG,
>
>I would like to keep some text/equations and a figure side by side in
>beamer frame. I mean, to divide the frame into half and keep text in
>one and the figure in the other half
>
>I tried following way(i have no experience using latex.. the below
>code is just copy paste from here and there... but didnt work)
>
>\begin{figure}
>\begin{minipage}[b]{0.5\linewidth} page
>{My Text and Equations goes here}
>\end{minipage}
>\hspace{0.5cm}
>\begin{minipage}[b]{0.5\linewidth}
>\centering
>\includegraphics[width=6cm]{myfig.pdf}
>\caption{En liten bild till}
>\end{minipage}
>\end{figure}
>
>But the figure is always coming below the text/equation which is not
>what i like to have.
>
>any tips in how to keep text/figures side by side in a bemer frame?
>
>thanks,
>Sreejith
>
>_______________________________________________
>Home:        http://www.tug.org.in/
>TeX FAQ:     http://www.tex.ac.uk/faq
>unsubscribe: http://tug.org/mailman/listinfo/tugindia