在我的导航栏中有两个参考标题?
我使用以下代码:
\documentclass[aspectratio=1610]{beamer}
\usepackage{etex}
\usetheme[
menuwidth={0.3\paperwidth},%
url={web}
]{p}
\setbeamercovered{transparent=20}
\newcommand{\semitransp}[2][35]{\color{fg!#1}#2}
\usepackage{hhline}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{pgfplots}
\usepackage{tikz}
\usepackage{pgf}
\usepackage{pgfgantt}
\usepackage[round, sort&compress, authoryear]{natbib}
\usepgfplotslibrary{groupplots}
\usetikzlibrary{arrows,shadows,petri,automata,shapes,shadows,trees}
\usepackage{lipsum}
\usepackage[tikz]{bclogo}
\presetkeys{bclogo}{
ombre=true,
epBord=3,
couleur = blue!15!white,
couleurBord = red,
arrondi = 0.2,
logo=\bctrombone
}{}
\definecolor{RawSienna}{cmyk}{0,0.72,1,0.45}
\definecolor{Magenta}{cmyk}{0,1,0,0}
\definecolor{darkgreen}{rgb}{0,0.4,0}
\newcommand\Fontvi{\fontsize{8}{7.2}\selectfont}
\usepackage{tcolorbox}
\definecolor{mycolor}{rgb}{0.122, 0.435, 0.698}% Rule colour
\makeatletter
\newcommand{\mybox}[1]{%
\setbox0=\hbox{#1}%
\setlength{\@tempdima}{\dimexpr\wd0+13pt}%
\begin{tcolorbox}[colframe=mycolor,boxrule=0.5pt,arc=4pt,
left=6pt,right=6pt,top=6pt,bottom=6pt,boxsep=0pt,width=\@tempdima]
#1
\end{tcolorbox}
}
\makeatother
\begin{document}
%%%%%%%%%%%%
\begin{frame}{Table of contents}
\tableofcontents[hideallsubsections]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Introduction}
\begin{frame}
(\cite{peterson1996fatal}).
(\cite{fournier1999functional})
(\cite{zhu2010constrained})
\end{frame}
\section{Methodology}
\begin{frame}
(\cite{copty2005path})
(\cite{hunt2002introduction})
(\cite{copty2005path})
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{References}
\begin{frame}[allowframebreaks]
\frametitle{References}
\footnotesize
% \tiny
\bibliographystyle{agsm}%apalike}%IEEEtran} %acm
\bibliography{my DB}
\end{frame}
\end{document}
答案1
添加此行时出错:
\section*{References}
该部分由参考书目自动创建