O slide de referências de apresentação do Beamer não pode permitir quebras de quadro e tem \frametitle

O slide de referências de apresentação do Beamer não pode permitir quebras de quadro e tem \frametitle

Estou escrevendo uma apresentação do Beamer e minhas referências são muito longas para um quadro. Então tentei usar [allowframebreaks], mas depois recebo oErro de capacidade do TeX excedidase eu tiver um \frametitle. Posso ter quebras de quadro ou o título, mas não ambos. Estou usando natbibo pdflatexShareLaTeX.com.

Aqui está o meu código:

\documentclass[14pt, compress]{beamer}

\usetheme{m}

\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{minted}
\usepackage{amsmath}
\usepackage{adjustbox}
\usepackage{graphicx}
\usepackage{url}
\usepackage{float}
\usepackage{setspace}
\usepackage{tikz}
\usepackage{caption}
\usepackage[super]{natbib}
\usemintedstyle{trac}

\bibliographystyle{apalike}



\title{The Prospects of D-T Nuclear Fusion as a Source of Electricity Production}
\subtitle{A Senior Seminar}
\date{23 April 2015}
\author{Kyle Reilly}
\institute{Cedarville University}



\graphicspath{{figures/}}


\begin{document}

\begin{frame}[allowframebreaks]
\frametitle{References}

\footnotesize{
\bibliography{Seminar_References.bib}
}

\end{frame}



\end{document}

Responder1

A allowframebreaksopção às vezes exige que você insira \protecto título do quadro.

Você deve fazer a seguinte alteração em seu documento:

\begin{frame}[allowframebreaks]
  \frametitle{\protect References} % \protect the title here

  \footnotesize{
    \bibliography{Seminar_References.bib}
  }

\end{frame}

Se você quiser entender mais sobre por que você precisa \protect, confira a discussão emQual é a diferença entre Frágil e Robusto?

Editar: desculpas, \protectnão tem o efeito pretendido neste nível da compilação. Você pode tentar a seguinte solução editando as linhas beamerthemem.stycom o \protectcomando:

  281: \protect\insertframetitle%
  284: \textsc{\MakeLowercase{\protect\insertframetitle}}%

Aqui está um exemplo prático.

demonstração.tex:

\documentclass[14pt, compress]{beamer}

\usetheme{m}

\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{minted}
\usepackage{amsmath}
\usepackage{adjustbox}
\usepackage{graphicx}
\usepackage{url}
\usepackage{float}
\usepackage{setspace}
\usepackage{tikz}
\usepackage{caption}
\usepackage[super]{natbib}
\usemintedstyle{trac}

\bibliographystyle{apalike}

\title{The Prospects of D-T Nuclear Fusion as a Source of Electricity Production}
\subtitle{A Senior Seminar}
\date{23 April 2015}
\author{Kyle Reilly}
\institute{Cedarville University}

\begin{document}

\maketitle

\begin{frame}

Force the frame break \citet{Knuth92} \citet{ConcreteMath} \citet{Simpson} \citet{Er01} \citet{greenwade93}

\end{frame}

\begin{frame}[allowframebreaks]
\frametitle{References}

\bibliography{demo}
\end{frame}
\end{document}

demonstração.bib:

@article{Knuth92, 
        author = "D.E. Knuth", 
        title = "Two notes on notation", 
        journal = "Amer. Math. Monthly", 
        volume = "99", 
        year = "1992", 
        pages = "403--422", 
} 

@book{ConcreteMath, 
        author = "R.L. Graham and D.E. Knuth and O. Patashnik", 
        title = "Concrete mathematics", 
        publisher = "Addison-Wesley", 
        address = "Reading, MA", 
        year = "1989" 
} 

@unpublished{Simpson, 
        author = "H. Simpson", 
        title = "Proof of the {R}iemann {H}ypothesis", 
        note = "preprint (2003), available at  
        \texttt{http://www.math.drofnats.edu/riemann.ps}", 
        year = "2003" 
} 

@incollection{Er01, 
        author = "P. Erd{\H o}s", 
        title = "A selection of problems and results in combinatorics", 
        booktitle = "Recent trends in combinatorics (Matrahaza, 1995)", 
        publisher = "Cambridge Univ. Press", 
        address = "Cambridge", 
        pages = "1--6", 
        year = "2001" 
} 
@article{greenwade93, 
    author  = "George D. Greenwade", 
    title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})", 
    year    = "1993", 
    journal = "TUGBoat", 
    volume  = "14", 
    number  = "3", 
    pages   = "342--351" 
} 

Folha de rosto Corpo da apresentação com citações Referências, página um Referências, página dois

informação relacionada