Beamer 添加对页脚的引用

Beamer 添加对页脚的引用

页面底部应如下所示。

在此处输入图片描述

但有些页面可以有多个引用。

在此处输入图片描述

正如您所看到的,参考字体大小和帧号字体大小并不相同,这非常好。

最后的参考应该与帧号对齐,因此两个底部应该在同一行。

有些框架没有参考。但在每个框架上保留四个“位置”作为参考。因此,在每个框架上始终保留四个“位置”空闲。

我根本不知道怎样才能实现这一目标。

代码

\documentclass{beamer}
\usetheme{Copenhagen}
\usecolortheme{beaver}


%no navigation symbols
\setbeamertemplate{navigation symbols}{}
%no headline
\setbeamertemplate{headline}{}
%no footline
\setbeamertemplate{footline}{}
%insert frame numbering
\addtobeamertemplate{navigation symbols}{}{
    \usebeamerfont{footline}
    \usebeamercolor[fg]{footline}
    \hspace{1em}
    \large \insertframenumber/\inserttotalframenumber
}
%no frame number on the title frame
\AtBeginSection[]{
  \begingroup
  \setbeamertemplate{navigation symbols}{}
  \begin{frame}
  \frametitle{Outline}
  \tableofcontents[currentsection]
  \end{frame}
  \endgroup
}
%first real frame number starts from 1
\let\otp\titlepage
\renewcommand{\titlepage}{\otp\addtocounter{framenumber}{-1}}


%black title color
\setbeamercolor{title}{fg=black}
%black frame title color
\setbeamercolor{frametitle}{fg=black}



\author{Author\\[10mm]{\small Supervisor: Supervisor}}
\title{Title}
\institute{Institute}
\date{Date}



\begin{document}

\begingroup
\setbeamertemplate{navigation symbols}{}
\frame[plain]{
    %title graphic to the top
    \centering
    \includegraphics[width=2cm]{logopolito}
    \hspace*{1cm}~%
    \includegraphics[width=2cm]{logopolito}
    \hspace*{1cm}~%
    \includegraphics[width=2cm]{logopolito}

    \titlepage

}
\endgroup


\begin{frame}{Test 1}

\begin{columns}

\column{0.5\textwidth}
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
\column{0.5\textwidth}
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
\end{columns}

\end{frame}


\begin{frame}{Test 2}

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

\end{frame}

\begin{frame}{Test 3}

Lorem Ipsum is simply dummy text of the printing and typesetting industry.

\end{frame}

\end{document}

回答

\renewcommand{\footnoterule}{}

\setbeamertemplate{footnote}{%
  \usebeamerfont{footline}
  \usebeamercolor[fg]{footline}
  \setlength{\parskip}{0.5pt}
  \parindent \hspace{-0.9cm}\noindent%
  \raggedright
  \tiny \insertfootnotetext\par%
}

答案1

由于您幸运地没有使用帧编号的脚注,因此您可以使用\footnotes \footcite(来自 biblatex)或类似工具来添加您的参考资料。

这是一个带有未编号脚注的简短示例:

\documentclass{beamer}
\usetheme{Copenhagen}
\usecolortheme{beaver}


%no navigation symbols
\setbeamertemplate{navigation symbols}{}
%no headline
\setbeamertemplate{headline}{}
%no footline
\setbeamertemplate{footline}{}
%insert frame numbering
\addtobeamertemplate{navigation symbols}{}{
    \usebeamerfont{footline}
    \usebeamercolor[fg]{footline}
    \hspace{1em}
    \large \insertframenumber/\inserttotalframenumber
}
%no frame number on the title frame
\AtBeginSection[]{
  \begingroup
  \setbeamertemplate{navigation symbols}{}
  \begin{frame}
  \frametitle{Outline}
  \tableofcontents[currentsection]
  \end{frame}
  \endgroup
}
%first real frame number starts from 1
\let\otp\titlepage
\renewcommand{\titlepage}{\otp\addtocounter{framenumber}{-1}}


%black title color
\setbeamercolor{title}{fg=black}
%black frame title color
\setbeamercolor{frametitle}{fg=black}



\author{Author\\[10mm]{\small Supervisor: Supervisor}}
\title{Title}
\institute{Institute}
\date{Date}

\renewcommand{\footnoterule}{}

\setbeamerfont{footnote}{size=\fontsize{8}{0}\selectfont}

\setbeamertemplate{footnote}{%
  \hspace{-0.8cm}\noindent%
  \raggedright
  \insertfootnotetext\par%
}



\begin{document}

\begin{frame}{Test 3}

Lorem Ipsum\footnotetext{ref} is simply\footnotetext{ref} dummy text of the printing and typesetting industry.

\end{frame}

\end{document}

在此处输入图片描述

相关内容