Graphics, Figures & Tablessubfigures in column in beamer class

Information and discussion about graphics, figures & tables in LaTeX documents.
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

subfigures in column in beamer class

Post by carol »

If figures are not in column, how could they be shifted to right and left? Suppose there are two figures on a frame. The following code doesn't shift one figure to the left and the other to the right. What is the proper usage? Note that as it is, it doesn't work for columns, either.

Code: Select all

\raggedleft
\includegraphics...
\raggedright
\includegraphics...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

subfigures in column in beamer class

Post by gmedina »

A \hfill command will do the job:

Code: Select all

\documentclass{beamer}

\begin{document}

\begin{frame}
\includegraphics{fig1}\hfill
\includegraphics{fig2}
\end{frame}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply