I have searched the stackexchange for a resolution of this problem, but I am still getting an error message when I put in the following (for now neglecting other things in my document, such as documentclass, begin{document}, etc.):
\begin{frame}
\frametitle{explanation}
\begin{columns}
\begin{column}{width=0.5\textwidth}
some text here
\end{column}
\begin{column}
\begin{center}
\includegraphics[width=0.5\textwidth]{image1.jpg}
\end{center}
\end{column}
\end{columns}
\end{frame}
When compiled, I get the error: Missing number, treated as zero
. I should appreciate any help.
Best Answer
You forgot to give the mandatory width to the second column, and you included an unnecessary
width=
in the width for the first column.