我在 beamer 文档中构建参考书目时遇到了一些问题:(1)每个条目的左边是一个文档符号/图片;(2)条目的不同部分有不同的颜色(我希望它们全部是黑色);(iii)由于某种原因,我无法更改字体大小。
以下是 MWE:
\documentclass{beamer}
\usetheme{Warsaw}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Adams1998,
address = {Stanford},
author = {Adams, Ernest W.},
file = {:Users/James/Library/Application Support/Mendeley Desktop/Downloaded/Adams - 1998 - A Primer of Probability Logic.pdf:pdf},
publisher = {CSLI Publications},
title = {{A Primer of Probability Logic}},
year = {1998}
}
\end{filecontents}
\usepackage[style=apa, natbib=true, doi=false, url=false]{biblatex}
\addbibresource{/Users/James/Documents/MWEs/Beamer-Biblatex MWE.bib}
\begin{document}
\begin{frame}{MWE}
Suppose I cite \citet{Adams1998}.
\end{frame}
\begin{frame}{Bibliography}\tiny
\printbibliography
\end{frame}
\end{document}
这将输出以下参考书目幻灯片:
如果有人能提供帮助我将非常感激!
答案1
正如评论中提到的,你可以使用以下组合
\setbeamertemplate{bibliography item}{}
删除书目项目符号,
\setbeamercolor{bibliography entry <...>}{fg=<color>}
改变颜色和
\setbeamerfont{bibliography entry <...>}{size=<font size>}
元素的字体大小:
\documentclass{beamer}
\usetheme{Warsaw}
\begin{filecontents}{\jobname.bib}
@book{Adams1998,
address = {Stanford},
author = {Adams, Ernest W.},
file = {:Users/James/Library/Application Support/Mendeley Desktop/Downloaded/Adams - 1998 - A Primer of Probability Logic.pdf:pdf},
publisher = {CSLI Publications},
title = {{A Primer of Probability Logic}},
year = {1998}
}
\end{filecontents}
\usepackage[style=apa, natbib=true, doi=false, url=false]{biblatex}
\addbibresource{\jobname.bib}
\setbeamertemplate{bibliography item}{}
\setbeamercolor{bibliography entry author}{fg=black}
\setbeamercolor{bibliography entry title}{fg=black}
\setbeamercolor{bibliography entry location}{fg=black}
\setbeamercolor{bibliography entry note}{fg=black}
\setbeamerfont{bibliography entry author}{size=\footnotesize}
\setbeamerfont{bibliography entry title}{size=\footnotesize}
\setbeamerfont{bibliography entry location}{size=\footnotesize}
\setbeamerfont{bibliography entry note}{size=\footnotesize}
\begin{document}
\begin{frame}{MWE}
Suppose I cite \citet{Adams1998}.
\end{frame}
\begin{frame}{Bibliography}
\printbibliography
\end{frame}
\end{document}