Расстояние между колоннами в Beamer

Расстояние между колоннами в Beamer

У меня возникли проблемы с объединением пары столбцов в \columnsсреде в beamer. Как следует из другого связанного вопроса, я пытался изменить ширину столбца, но пока это ничего не изменило. Слайд выглядит так:

Горка

А код следующий:

\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}

решение1

  • Причины \footnoteвозникновения проблемы, но вы можете использовать \footnotemark[1]и \footnotetext[1]{}, чтобы обойти проблему.
  • \column[t]{0.5cm}конечно, слишком мал для содержания колонки

\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}

введите описание изображения здесь

решение2

Главное, кажется, это \сноска. Я изменил еще несколько аспектов, но по более или менее эстетическим причинам.

\documentclass{beamer}
\begin{document}
\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}[t,onlytextwidth]
 \begin{column}{0.47\linewidth}
  \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}
 \end{column}
 \begin{column}{0.47\linewidth}
  \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}

\end{frame}
\end{document}

Как можно найти в руководстве: «Сначала одно предупреждение: использование сносок обычно не является хорошей идеей». [раздел 12.12 в beameruserguide.pdf]

Связанный контент