La diapositiva de referencias de presentación de Beamer no puede permitir rupturas de marco y tiene \frametitle

La diapositiva de referencias de presentación de Beamer no puede permitir rupturas de marco y tiene \frametitle

Estoy escribiendo una presentación de Beamer y mis referencias son demasiado largas para un cuadro. Entonces intenté usar [allowframebreaks], pero luego obtengo elError de capacidad TeX excedidasi tengo un \frametitle. Puedo tener saltos de fotograma o el título, pero no ambos. Estoy usando natbiby pdflatexen ShareLaTeX.com.

Aquí está mi 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}

Respuesta1

La allowframebreaksopción a veces requiere que ingreses \protectel título del marco.

Debe realizar el siguiente cambio en su documento:

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

  \footnotesize{
    \bibliography{Seminar_References.bib}
  }

\end{frame}

Si desea comprender más sobre por qué lo necesita \protect, consulte la discusión en¿Cuál es la diferencia entre frágil y robusto?

Editar: Disculpas, \protectno tiene el efecto deseado en este nivel de la compilación. Puede probar la siguiente solución editando las líneas beamerthemem.stycon el \protectcomando:

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

Aquí hay un ejemplo práctico.

demostración.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}

babero de demostración:

@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" 
} 

Pagina del titulo Cuerpo de presentación con citas. Referencias, página uno Referencias, página dos

información relacionada