[Tugindia] Re: Figure/Text Side by Side how to
Sreejith Pulloor
sreejithpk at gmail.com
Thu Nov 24 10:25:25 CET 2005
Friends Thanks a lot for the tips. It worked now. spacing was the major problem.
I hope to come back with some questions like this as I am slowly learning Tex.
Thanking You.
Sincerely,
Sreejith
---
http://hal.iwr.uni-heidelberg.de/~sreejith/
On 11/24/05, Aditya Mahajan <adityam at umich.edu> wrote:
> <--- On Nov 23, Sreejith Pulloor wrote --->
>
> > 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
>
> Beamer provides a columns environment for things like this. Have a
> look at the user guide.
>
> > \begin{figure}
>
> You do not need figure environment.
>
> > \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.
>
> This is because there is not enough space to place the minipages is
> one line
>
> You have 0.5\linewidth + 0.5cm + 0.5\linewidth > \linewidth
>
> so everything can not come in one line. Either remove the
> \hspace{0.5cm} or reduce the width of minipage to 0.45\linewidth or
> something smaller, till there is enough space fit everything on a line
>
>
>
>
> --
> Aditya Mahajan, EECS Systems, University of Michigan
> http://www.eecs.umich.edu/~adityam || Ph: 7342624008
>
> _______________________________________________
> Home: http://www.tug.org.in/
> TeX FAQ: http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>
More information about the tugindia
mailing list