有什么办法可以改变默认的 \beamergotobuttoncolor ?
我已经更改了演示文稿主题中的许多内容,现在到了最后,我发现使用这些设置无法看到由 beamergotobutton 命令创建的按钮。我想只更改按钮的颜色,而不修改其他内容的主题。
我的按钮都在附录中,我用来生成它们的确切命令如下:
\hyperlink{appendix}{\beamergotobutton{Appendice}}
在序言中我有以下定义:
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=mycolor}
先感谢您!
正如@Claudio Fiandrino 所问,这是我的 MWE:
\documentclass[10pt]{beamer}
\usepackage{xcolor}
\definecolor{sapienza}{HTML}{98002E}
\definecolor{royalblue}{RGB}{176,196,222}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=sapienza}
\mode<beamer> %COMPLETE configuration of my beamer mode
{
\usefonttheme[stillsansseriftext]{serif}
\setbeamercolor{structure}{bg=black, fg=royalblue}
\usetheme{PaloAlto}
\setbeamertemplate{section in toc}[square]
\setbeamerfont{section number projected}{%
family=\rmfamily,series=\bfseries,size=\normalsize}
\setbeamercolor{section number projected}{bg=royalblue,fg=sapienza}
\setbeamercolor{section in toc}{fg=sapienza}
\setbeamertemplate{navigation symbols}{}
\setbeamercolor{frametitle}{fg=sapienza}
\setbeamercolor{section in sidebar}{fg=sapienza}
\setbeamercolor{subsection in sidebar}{fg=blue}
\setbeamercolor{section in sidebar shaded}{fg= sapienza}
\setbeamertemplate{footline}[frame number]
\setbeamercovered{highly dynamic}
}
\begin{document}
\begin{frame}{Appendice}
\label{appendix}
\hyperlink{distr-c1-c1}{\beamergotobutton{La distribuzione C1-C1}}
\end{frame}
\begin{frame}{La distribuzione C1-C1}
\label{distr-c1-c1}
some text
\hyperlink{appendix}{\beamergotobutton{Appendice}}
\end{frame}
\end{document}
答案1
明白了!从这里读建议:
http://www.latex-community.org/forum/viewtopic.php?f=4&t=12180
经过多次反复尝试后,我找到了改变按钮颜色的正确方法:
\setbeamercolor{button}{bg=black,fg=yellow}