Here is my Latex file:
\documentclass{beamer}
\title{Here is my Title}
\author{}
\date{}
\begin{document}
\begin{frame}
\begin{columns}[t] % contents are top vertically aligned
\begin{column}[5cm] % each column can also be its own environment
Contents of first column \\ split into two lines
\end{column}
\begin{column}[T]{5cm} % alternative top-align that's better for graphics Line 13
Contents of second column \\ split into two lines
\end{column}
\end{columns}
\end{frame} % Line 17
\end{document}
This is the output of compilation:
line 17: Missing number, treated as zero \end{frame}
line 17: Illegal unit of measure (pt inserted) \end{frame}
line 17: Missing number, treated as zero \end{frame}
line 17: Illegal unit of measure (pt inserted) \end{frame}
line 13: This package is obsolete and no longer needed on input line 13. This package is obsolete and no longer needed
line 0: Option `pdfpagelabels' is turned off(hyperref) because \thepage is undefined.
line 17: Overfull \hbox (33.76253pt too wide) in paragraph
line 17: Overfull \hbox (8.82085pt too wide) in paragraph
line 17: Overfull \hbox (17.76335pt too wide) in paragraph
line 17: Overfull \hbox (16.6075pt too wide) in paragraph
line 17: Overfull \hbox (20.01422pt too wide) in paragraph
line 17: Overfull \hbox (19.04083pt too wide) in paragraph
line 17: Overfull \hbox (17.70251pt too wide) in paragraph
line 17: Overfull \hbox (16.30333pt too wide) in paragraph
line 17: Overfull \hbox (19.95334pt too wide) in paragraph
line 17: Font shape `OT1/cmss/m/n' in size <4> not available(Font) size <5> substituted on input line 17. Font shape `OT1/cmss/m/n' in size <4> not available(Font) size <5> substituted
line 0: Size substitutions with differences(Font) up to 1.0pt have occurred.
If I remove the parts between \begin{column}
and \end{column}
, all will be fine. I wonder how I can fix the errors? Thanks and regards!
Update:
After changing \begin{column}[5cm]
to \begin{column}{5cm}
, here is the new error
line 0: Emergency stop
line 13: This package is obsolete and no longer needed on input line 13. This package is obsolete and no longer needed
line 0: Option `pdfpagelabels' is turned off(hyperref) because \thepage is undefined.
line 17: Font shape `OT1/cmss/m/n' in size <4> not available(Font) size <5> substituted on input line 17. Font shape `OT1/cmss/m/n' in size <4> not available(Font) size <5> substituted