Estou me perguntando como posso alterar a cor da fonte no título da minha apresentação?
Eu viaquicomo alterar a cor da barra, mas não a fonte real.
Código original:
\documentclass[xcolor=dvipsnames]{beamer}
\usetheme{CambridgeUS}
\useinnertheme{rectangles}
\useoutertheme{infolines}
\setbeamercolor{frametitle}{fg=Brown,bg=Brown!20}
\setbeamercolor{section in head/foot}{bg=Brown}
\setbeamercolor{author in head/foot}{bg=Brown}
\setbeamercolor{date in head/foot}{fg=Brown}
\begin{document}
\section{Font to be changed in the headline}
\begin{frame}
\frametitle{A test frame}
\end{frame}
\end{document}
Editar: após a resposta, o seguinte não parece funcionar para mim
\documentclass[xcolor=dvipsnames]{beamer}
\mode<presentation>
{
\usetheme{AnnArbor}
\setbeamercovered{transparent}
\useinnertheme{rounded}
\usecolortheme{spruce}
}
\setbeamercolor{section in head/foot}{fg=White}
\begin{document}
\section{Font to be changed in the headline}
\begin{frame}
\frametitle{A test frame}
\end{frame}
\end{document}
Gostaria de manter o tema como está e gostaria apenas de alterar a fonte do título para branco, caso contrário, ficará ilegível.
Obrigado.
Responder1
Adicione uma fg
especificação (em primeiro plano) para os modelos de cores apropriados; por exemplo:
\setbeamercolor{section in head/foot}{bg=Brown,fg=red}
\setbeamercolor{subsection in head/foot}{bg=gray!30,fg=black}
Um exemplo completo:
\documentclass[xcolor=dvipsnames]{beamer}
\usetheme{CambridgeUS}
\useinnertheme{rectangles}
\useoutertheme{infolines}
\setbeamercolor{frametitle}{fg=Brown,bg=Brown!20}
\setbeamercolor{section in head/foot}{bg=Brown,fg=red}
\setbeamercolor{subsection in head/foot}{bg=gray!30,fg=black}
\setbeamercolor{author in head/foot}{bg=Brown}
\setbeamercolor{date in head/foot}{fg=Brown}
\begin{document}
\section{Font changed in the headline}
\begin{frame}
\frametitle{A test frame}
\end{frame}
\subsection{Font changed in the headline}
\begin{frame}
\frametitle{A test frame}
\end{frame}
\section{Font changed in the headline}
\begin{frame}
\frametitle{A test frame}
\end{frame}
\subsection{Font changed in the headline}
\begin{frame}
\frametitle{A test frame}
\end{frame}
\end{document}
O título resultante:
Atualizar
Após a edição da pergunta, isso
\documentclass[xcolor=dvipsnames]{beamer}
\mode<presentation>
{
\usetheme{AnnArbor}
\setbeamercovered{transparent}
\useinnertheme{rounded}
\usecolortheme{spruce}
}
\setbeamercolor{section in head/foot}{fg=White}
\begin{document}
\section{Font to be changed in the headline}
\begin{frame}
\frametitle{A test frame}
\end{frame}
\end{document}
produz