[Tex/LaTex] Spacing Columns In Beamer

beamercolumns

I am having trouble getting a pair of columns together in the \columns environment in beamer. As the other related question suggest I have tried to modify the width of the column, but so far it has not changed anything. The slide looks like this:

Slide

And the code is the following:

\begin{frame}
Constrained parameters are stored in the file \texttt{work/models/func1.mdl}. Although there are some public parameters, by default all particle masses and external function calculated ones, by modifying the file it is posible to set all of them as public. \\ \pause
Finally, lets see some of the methods that can make the calculation of spectrum and of all public model constrains:\pause
\begin{columns}
\column[t]{0.5cm}
\begin{itemize}
\item \texttt{sortOddParticles(txt)}\\
\item \texttt{qNumbers(pName,\&spin2, \&charge3,\&cdim)}\footnote{The \& represents a memory direction in C}\\
\item \texttt{pdg2name(nPDG)}\\
\item \texttt{pMass(pName)}\\
\item \texttt{nextOdd(n,\&pMass)}\\
\end{itemize}
\column[t]{5cm}
\begin{itemize}
\item \texttt{findVal(name,\&val)}\\
%\item \texttt{findValW(name)}\\
%\item \texttt{printVar(FD)}\\
%\item \texttt{printMasses(FD,sort)}\\
%\item \texttt{printHiggsMasses(FD,sort)}\\
\end{itemize}
\end{columns}
\end{frame}

Best Answer

  • The \footnote causes the trouble, but you can use \footnotemark[1] and \footnotetext[1]{} to circumvent the problem.
  • \column[t]{0.5cm} is of course way too small for the content of the column

\documentclass{beamer}

\begin{document}

\begin{frame}

\begin{columns}[onlytextwidth, T]
    \begin{column}{.47\textwidth}
        \begin{itemize}
            \item \texttt{sortOddParticles(txt)}
            \item \texttt{qNumbers(pName, \&spin2, \&charge3, \&cdim)}\footnotemark
            \item \texttt{pdg2name(nPDG)}
            \item \texttt{pMass(pName)}
            \item \texttt{nextOdd(n,\&pMass)}
        \end{itemize}
    \end{column}
    \begin{column}{.47\textwidth}
        \begin{itemize}
            \item \texttt{findVal(name,\&val)}
            \item \texttt{findValW(name)}
            \item \texttt{printVar(FD)}
            \item \texttt{printMasses(FD,sort)}
            \item \texttt{printHiggsMasses(FD, sort)}
        \end{itemize}
    \end{column}
\end{columns}

\footnotetext{The \& represents a memory direction in C}
\end{frame}


\end{document}

enter image description here