beamer中\end{frame}报错

发布于 2021-05-24 16:12:28

image.png

\documentclass[10pt]{beamer}
\usepackage[space,hyperref,UTF8]{ctex}
\usetheme{Warsaw}
\usepackage{mathptmx}
\usefonttheme[onlymath]{serif}
\setbeamertemplate{navigation symbol}{}
\usepackage{amsmath}

\author[Lee]{Lawrence Lee}
\date{\today}
\title[练习]{Beamer练习}

\begin{document}
\frame{\titlepage}
\begin{frame}{Theme}
        contents\cite{001}
\end{frame}

\begin{frame}[allowframebreak]{References}
\def\newblock{}
\bibliographystyle{plain}
\bibliography{mybib}
\end{frame}
\end{document}

bib文件中的内容

@inproceedings{001,
author = {R. Guti\'{e}rrez-Cuevas and S. A. Wadood and A. N. Vamivakas and M. A. Alonso},
booktitle = {Frontiers in Optics / Laser Science},
journal = {Frontiers in Optics / Laser Science},
keywords = {Coherent states; Cylindrical lenses; Fractional Fourier transforms; Gaussian beams; Michelson interferometers; Spatial light modulators},
pages = {FW1B.4},
publisher = {Optical Society of America},
title = {Majorana Representation and Hidden Symmetries of Structured-Gaussian Beams},
year = {2020},
url = {http://www.osapublishing.org/abstract.cfm?URI=FiO-2020-FW1B.4},
doi = {10.1364/FIO.2020.FW1B.4}
}

查看更多

关注者
0
被浏览
239
乙醇
乙醇 2021-05-26

搁这给我们出题玩呢是吗……但凡用命令行编译一下就问不出这个问题
image.png
顺便 overleaf 的报错也可以看到
image.png

2 个回答
disenchanted
disenchanted 2021-05-24

该问题的答案:

\begin{frame}[t,allowframebreak]{References}

中的allowframebreak改为allowframebreaks

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览