我正在使用 beamer 制作演示文稿。我还使用 添加参考资料\bibliographystyle{apacite}
。当我使用 创建目录时\tableofcontents
,“参考资料”显示为最后一节,这是应该的,但它没有编号并且格式不正确。以下是 MWE:
\documentclass[serif,10pt]{beamer}
\usetheme{Ilmenau}
\usecolortheme{seahorse}
\usepackage{apacite}
\usepackage[english]{babel}
\title{Presentation}
\author{Author Author}
\institute {University}
\date{August 16, 2013}
\begin{document}
\frame[shrink=2]{\titlepage}
%==================================
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
%==================================
\section[Introduction]{Introduction}
\begin{frame}
\frametitle{Introduction}
Introduction
\end{frame}
%==================================
\section[Part 1]{Part 1}
\begin{frame}
\frametitle{Part 1}
Part 1 \\
\cite{ref2013}
\end{frame}
%==================================
\section[Conclusion]{Conclusion}
\begin{frame}
\frametitle{Conclusion}
Conclusion
\end{frame}
%==================================
\begin{frame}{Bibliography}
\bibliographystyle{apacite}
\bibliography{ref}
\end{frame}
\end{document}
将其放入文件 ref.bib 中:
@article{ref2013,
Author={Author, A.},
Title={A very interesting paper},
Journal={Great Journal},
Volume={1},
Pages={1--10},
Year={2013} }
感谢您的帮助!
答案1
只需使用numberedbib
选项apacite
;这会使参考书目被视为\section
而不是未编号的\section*
:
\documentclass[serif,10pt]{beamer}
\usetheme{Ilmenau}
\usecolortheme{seahorse}
\usepackage[numberedbib]{apacite}
\usepackage[english]{babel}
\begin{document}
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
\section[Introduction]{Introduction}
\begin{frame}
\frametitle{Introduction}
Introduction
\end{frame}
\section[Part 1]{Part 1}
\begin{frame}
\frametitle{Part 1}
Part 1 \\
\cite{ref2013}
\end{frame}
\section[Conclusion]{Conclusion}
\begin{frame}
\frametitle{Conclusion}
Conclusion
\end{frame}
\nocite{*}
\begin{frame}{Bibliography}
\bibliographystyle{apacite}
\bibliography{ref}
\end{frame}
\end{document}