我正在尝试更改带有 biblatex style=phys 的 beamer 模板上的框架内引文的字体颜色(所有文本,可能针对作者、期刊等字段进行自定义)。以下是产生错误的 MWE
\documentclass[handout]{beamer}
\usetheme{default}
\usepackage[style=phys,backend=bibtex]{biblatex}
\addbibresource{refs.bib}
\begin{document}
\begin{frame}{Title}
condition\footnote[frame]{\fullcite{farhi00}}
\end{frame}
\end{document}
这是 refs.bib
@article{farhi00,
title = {Quantum {Computation} by {Adiabatic} {Evolution}},
journal = {arXiv:quant-ph/0001106},
author = {Farhi, Edward and Goldstone, Jeffrey and Gutmann, Sam and Sipser, Michael},
month = jan,
year = {2000}}
得出
我尝试了许多方法来更改底部的文本颜色,包括使用 hyperref 包以及许多不同的建议更新命令。我可以更改脚注的标记颜色,但不能更改文本颜色。有什么建议吗?我愿意使用其他方法,footnote[frame]{\fullcite{}}
但当我尝试使用时,\footcite{}
底部什么都没有显示
答案1
您可以通过以下方式更改颜色\setbeamercolor{bibliography ...}{...}
:
\documentclass[handout]{beamer}
\usetheme{default}
\usepackage[style=phys,backend=bibtex]{biblatex}
\begin{filecontents*}[overwrite]{\jobname.bib}
@article{farhi00,
title = {Quantum {Computation} by {Adiabatic} {Evolution}},
journal = {arXiv:quant-ph/0001106},
author = {Farhi, Edward and Goldstone, Jeffrey and Gutmann, Sam and Sipser, Michael},
month = jan,
year = {2000}}
\end{filecontents*}
\addbibresource{\jobname.bib}
\setbeamercolor{bibliography entry title}{fg=blue!50!cyan}
\setbeamercolor{bibliography entry author}{fg=violet}
\setbeamercolor{bibliography entry location}{fg=green}
\setbeamercolor{bibliography entry note}{fg=orange}
\begin{document}
\begin{frame}{Title}
condition\footnote[frame]{\fullcite{farhi00}}
\end{frame}
\end{document}