投影機中的間隔列

投影機中的間隔列

我無法\columns在投影機的環境中將一對柱放在一起。正如其他相關問題所表明的那樣,我嘗試修改列的寬度,但到目前為止它沒有改變任何內容。投影片如下圖所示:

滑動

程式碼如下:

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

正如手冊中所示:“首先警告一下:使用腳註通常不是一個好主意。” [beameruserguide.pdf 中的第 12.12 節]

相關內容