前言
如题,本文在用beamer做PPT的时候,发现minipage中直接添加脚注,得不到想要的效果,本文在此给出可行的解决方案。
示例代码
% 需要添加 {Footnotes}
\begin{frame}[fragile]{Footnotes}
\frametitle{Our motivation: accuracy of ground truth}
% 需要columns环境
\begin{columns}
% 需要column环境,然后规定宽度:{0.45\textwidth},具体自己可以调
\begin{column}[]{0.45\textwidth}
\begin{minipage}[t]{\textwidth}
\begin{figure}
\includegraphics[width=1\textwidth]{figs/xxx.pdf}
\caption{xxx.}
\end{figure}
\end{minipage}\hfill
\end{column}
\begin{column}{0.58\textwidth}
\begin{minipage}[t]{\textwidth}
\begin{enumerate}
\item xxx in datasets.
% 这就是footnote脚注,由于这里不能自动换行,所以我采用了\\进行手动换行。
\item xxx is mandatory\footnote{ \ S. Herbold et al., ``Large-scale manual \\validation of bug fixing changes,'' MSR 2020.}.
\myPause
\item \faBinoculars \ \textbf{Our observation}:
a) {\myTextColor{Few datasets are purified}}: \uline{Defects4J}, Bears, Bugs.jar
\vspace{0.1cm}
b) {\myTextColor{Inaccurate ground truth} in manually purified dataset}: \underline{Defects4J}
\end{enumerate}
\end{minipage}
\end{column}
\end{columns}
\end{frame}
效果如下: