Beamer 幻灯片上的着色引文

Beamer 幻灯片上的着色引文

我正在用 编写幻灯片Beamer。我必须引用论文,并且我想用不同的颜色引用它们。我的问题是,当我使用 引用某些论文时\citep*{},引用的结束括号是黑色的,但是当我使用 引用论文时\citet*{},引用括号的开头部分是彩色的,而括号的结束部分不是彩色的。这就是我的意思:

在此处输入图片描述

我四处查看,似乎网上有一些相关的问题和答案,但没有一个对我有用。我将非常感激有关如何为引文括号的两边着色的建议。我包括了我的 MWE。我的主.tex文件如下所示:

\documentclass{beamer}
\usepackage{natbib}
\hypersetup{
colorlinks,
citecolor=red
}
\begin{document}
\begin{frame}
\begin{itemize}
    \item Extensive evidence \citep*{ongena2000determines,kosekova2023firm} 
    \item Papers \citet*{gerali2010credit}, \citet*{jermann2012macroeconomic}
\end{itemize}
\end{frame}
\begin{frame}{References}
\bibliographystyle{ecta}
\bibliography{ref}
\end{frame}
\end{document}

我的.bib文件如下所示:

@article{ongena2000determines,
title={What determines the number of bank relationships? Cross-country evidence},
author={Ongena, Steven and Smith, David C},
journal={Journal of Financial intermediation},
volume={9},
number={1},
pages={26--56},
year={2000},
publisher={Elsevier},
note = {\url{https://doi.org/10.1006/jfin.1999.0273}}
}
@article{kosekova2023firm,
title={Firm-bank relationships: a cross-country comparison},
author={Kosekova, Kamelia and Maddaloni, Angela and Papoutsi, Melina and Schivardi, Fabiano},
year={2023},
publisher={ECB Working Paper},
journal={ECB Working Paper},
note={\url{https://www.ecb.europa.eu/pub/pdf/scpwps/ecb.wp2826~cbbb571758.en.pdf}}
}
@article{gerali2010credit,
title={Credit and Banking in a DSGE Model of the Euro Area},
author={Gerali, Andrea and Neri, Stefano and Sessa, Luca and Signoretti, Federico M},
journal={Journal of money, Credit and Banking},
volume={42},
pages={107--141},
year={2010},
publisher={Wiley Online Library}
}
@article{jermann2012macroeconomic,
title={Macroeconomic effects of financial shocks},
author={Jermann, Urban and Quadrini, Vincenzo},
journal={American Economic Review},
volume={102},
number={1},
pages={238--271},
year={2012},
publisher={American Economic Association}
}

相关内容