我试图让我的参考资料出现在幻灯片的底部(而不是作为脚注),我希望有人能帮我解决这个问题。
我正在使用beamer
和biblatex
,这是一个最简单的例子:
\documentclass{beamer}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A. and Buthor, B. and Cuthor, C.},
year = {2001},
title = {Alpha}
}
\end{filecontents}
\usepackage{biblatex}
\renewcommand*{\citesetup}{\vfill\tiny\itshape}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}{\hspace{\fill}\textbf{\insertframenumber/\inserttotalframenumber}}
\addbibresource{\jobname.bib}
\begin{document}
\begin{frame}
\frametitle{Test1}
Test
\vfill
\fullcite{A01}
\end{frame}
\begin{frame}
\frametitle{Bibliography}
\printbibliography
\end{frame}
\end{document}
理想情况下,我希望参考文献以覆盖方式显示,并且所有参考文献仅位于底部,且字体大小/斜体很小。
我尝试仅使用和来实现这一点\vfill
,但\vfill
似乎没有将它们放在底部。
答案1
要将某些内容对齐到页面底部,可以使用 Beamer 手册第 61 页的标题页示例。它建议\vskip0pt plus 1filll
我改变了与命令footline
相关的定义beamer
\documentclass{beamer}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A. and Buthor, B. and Cuthor, C.},
year = {2001},
title = {Alpha}
}
\end{filecontents}
\usepackage{biblatex}
\renewcommand*{\citesetup}{\tiny\itshape}
\setbeamertemplate{navigation symbols}{}
\setbeamerfont{page number in head/foot}{series=\bfseries}
\setbeamercolor{page number in head/foot}{fg=blue}
\setbeamertemplate{footline}
{%
\hrulefill%
\usebeamercolor[fg]{page number in head/foot}%
\usebeamerfont{page number in head/foot}%
\insertpagenumber\,/\,\insertpresentationendpage\kern1em\vskip2pt%
}
\addbibresource{\jobname.bib}
\begin{document}
\begin{frame}
\frametitle{Test1}
\vskip0pt plus 1filll
Test
\vskip0pt plus 1filll
\fullcite{A01}
\end{frame}
\begin{frame}
\frametitle{Bibliography}
\printbibliography
\end{frame}
\end{document}