我正在用beamer
它做一个演示文稿,我注意到参考书目图标在 Beamer 的页面之外呈现。
请参阅下面的代码-
\documentclass[aspectratio=43,11pt]{beamer}
\usetheme{Madrid}
\usecolortheme{seahorse}
\usefonttheme{serif}
\setbeamertemplate{navigation symbols}{}
\usepackage[style=verbose,backend=bibtex]{biblatex}
\renewcommand*{\bibfont}{\tiny}%font size for reference slide
\addbibresource{jobname.bib}
\renewcommand{\footnotesize}{\tiny}
\begin{document}
\begin{frame}{\textit{cite} example}
\begin{itemize}
\item Saharon et al. \footcite{Saharon1972}
\item Huo et al. \footcite{Huo2002}
\end{itemize}
\end{frame}
\begin{frame}{References}
\printbibliography
\end{frame}
\end{document}
以下是 bib 文件的内容-
@article{Huo2002,
author = {Zhimin Huo and Maryellen L. Giger and Olufunmilayo I. Olopade and Dulcy E. Wolverton and Barbara L. Weber and Charles E. Metz and Weiming Zhong and Shelly A. Cummings},
title = {Computerized Analysis of Digitized Mammograms of BRCA1 and BRCA2 Gene Mutation Carriers},
journal = {Radiology},
volume = {225},
number = {2},
pages = {519-526},
year = {2002},
doi = {10.1148/radiol.2252010845},
note ={PMID: 12409590},
}
@article{Saharon1972,
author = {Shelah Saharon},
journal = {Annals of Mathematical Logic},
pages = {75--114},
title = {Saturation of ultrapowers and Keisler's order},
volume = {4},
year = {1972},
},
请注意,每个参考文献的图标都打印在幻灯片的左侧。但不幸的是,它超出了幻灯片的范围。
答案1
问题似乎是infolines
由 内部加载的外部主题引起的Madrid
。有问题的命令是
\setbeamersize{text margin left=1em,text margin right=1em}
如果您制作了的本地副本beamerouterthemeinfolines.sty
,将其重命名并删除上面的行,则可以使用修改后的版本\useoutertheme{bla}
。
或者作为一种解决方法,您可以将参考书目包装到minipage
.
\documentclass{beamer}
\usetheme{Madrid}
\usepackage[style=verbose,backend=bibtex]{biblatex}
\addbibresource{test.bib}
\begin{document}
\nocite{*}
\begin{frame}{References}
\hspace*{0.5cm}
\begin{minipage}{\dimexpr\textwidth-1cm\relax}
\printbibliography
\end{minipage}
\end{frame}
\end{document}