I am trying to create two columns in one slide with Beamer. I followed this link: How to split a frame (of beamer) into 2 parts (minipage) side by side?
However, none of the minipage
or the columns
environment works.
For columns
environment, my dvi file looks fine but when I convert it to pdf, the page becomes a blank page.
For minipage
, I would like to remove the border of each minipage
. However, once I remove the \fbox
, the two minipage
have weird alignment.
I basically use the sample code from the link I mentioned. Here is my code:
\documentclass[]{beamer}
\mode<presentation>
\usepackage{beamerthemesplit,mathtools,pgf,PSTricks}
\setbeamertemplate{footline}[page number]
\begin{document}
\begin{frame}
\begin{columns}
\begin{column}{.48\textwidth}
\color{red}\rule{\linewidth}{4pt}
Left Part
\end{column}%
\hfill%
\begin{column}{.48\textwidth}
\color{blue}\rule{\linewidth}{4pt}
Right Part
\end{column}%
\end{columns}
\end{frame}
\begin{frame}
\fboxsep=0pt
\noindent
%\fbox{%
\begin{minipage}[t]{0.48\linewidth}
\includegraphics[height=0.5\paperheight]{impact_circles.eps}
\end{minipage}
%}%
\hfill%
%\fbox{%
\begin{minipage}[t]{0.48\linewidth}
\begin{itemize}
\item right part
\item test2
\item test3
\end{itemize}
\end{minipage}
%}
\end{frame}
\end{document}
The first slide using columns
environment, and it is looks fine in dvi file, but it doesn't work after converting to pdf.
The second slide using minipage
enviroment. It works but the two minipage
do not align with each other.
Anyone knows how to fix this issue? Thank you.
\documentclass{...}
and ending with\end{document}
.columns
environment with optionst
,T
,c
, andb
to control the vertical alignments. No need to useminipage
..eps
extension. Have you tried with images of other formats, like.png
or.pdf
?