LaTeX beamer中minipage添加脚注(footnote)

前言

如题,本文在用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}

效果如下:

在这里插入图片描述

参考文献

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
好的,下面是一份美观的Beamer代码,其包含左侧导航栏: ```latex \documentclass[UTF8,11pt]{beamer} \usepackage{ctex} \usepackage{graphicx} \usetheme{Madrid} \useoutertheme{sidebar} \useinnertheme{circles} \usecolortheme{default} \setbeamertemplate{sidebar canvas left}[vertical shading][top=white,bottom=blue!10] \setbeamertemplate{sidebar left}{% \begin{minipage}[c][\paperheight][c]{.2\textwidth} \begin{flushleft} \insertlogo\par \vfill \insertverticalnavigation{.8\textwidth}\par \vfill \hbox{\usebeamerfont{author in sidebar}% \usebeamercolor[fg]{author in sidebar}% \insertshortauthor[width=.75\textwidth,center,respectlinebreaks]\par% \usebeamerfont{institute in sidebar}% \usebeamercolor[fg]{institute in sidebar}% \insertshortinstitute[width=.75\textwidth,center,respectlinebreaks]\par% \vfill} \end{flushleft} \end{minipage} } \title{这里是标题} \author{这里是作者} \institute{这里是机构} \date{\today} \begin{document} \begin{frame} \titlepage \end{frame} \section{第一节} \begin{frame} \frametitle{这里是帧标题} 这里是帧内容。 \begin{itemize} \item 第一项 \item 第二项 \end{itemize} \begin{figure}[htbp] \centering \includegraphics[width=0.5\textwidth]{example-image} \caption{这里是图片标题} \end{figure} \end{frame} \section{第二节} \begin{frame} \frametitle{这里是帧标题} 这里是帧内容。 \begin{enumerate} \item 第一项 \item 第二项 \end{enumerate} \begin{figure}[htbp] \centering \includegraphics[width=0.5\textwidth]{example-image} \caption{这里是图片标题} \end{figure} \end{frame} \end{document} ``` 你可以根据自己的需要调整左侧导航栏的颜色和字体。此外,你可以在左侧导航栏添加自己的Logo。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值