
Estoy preparando una presentación con el siguiente tema:
\useoutertheme[height=0pt,width=3cm,left]{sidebar}
\usecolortheme{dove,sidebartab}
Me gustaría cambiar el color de fuente de la sección/subsección resaltada y también ponerla en negrita:
\documentclass{beamer}
\useoutertheme[height=0pt,width=3cm,left]{sidebar}
\usecolortheme{dove,sidebartab}
\setbeamercolor{section in sidebar}{fg=white, bg=black}
\setbeamerfont{section in sidebar}{series=\bfseries}
\begin{document}
\section{Section 1}
\section{Subsection 1.1}
\begin{frame}
abc
\end{frame}
\section{Subsection 1.2}
\section{Section 2}
\section{Subsection 2.1}
\section{Subsection 2.2}
\begin{frame}
abc
\end{frame}
\end{document}
Desafortunadamente, \setbeamerfont{section in sidebar}{series=\bfseries}
pone en negrita todas las secciones/subsecciones, no solo la resaltada.
Respuesta1
Quieres modificar\setbeamercolor{section in sidebar}{fg=blue, bg=red}
\documentclass{beamer}
\useoutertheme[height=0pt,width=3cm,left]{sidebar}
\usecolortheme{dove,sidebartab}
\setbeamercolor{section in sidebar}{fg=blue, bg=red}
\begin{document}
\section{test}
\begin{frame}
abc
\end{frame}
\section{testtest}
\begin{frame}
abc
\end{frame}
\end{document}
Para volver a cambiar la fuente a negrita, puede hacer lo siguiente:
\documentclass{beamer}
\useoutertheme[height=0pt,width=3cm,left]{sidebar}
\usecolortheme{dove,sidebartab}
%Colours
\setbeamercolor{section in sidebar}{fg=blue, bg=red}
% Fonts
\setbeamerfont{section in sidebar}{series=\bfseries}
\setbeamerfont{section in sidebar shaded}{series=\normalfont}
\makeatletter
\setbeamertemplate{section in sidebar shaded}
{%
\vbox{%
\vskip1ex%
\beamer@sidebarformat{3pt}{section in sidebar shaded}{\usebeamerfont{section in sidebar shaded}\insertsectionhead}%
}%
}
\makeatother
\begin{document}
\section{Section 1}
\begin{frame}
abc
\end{frame}
\section{Subsection 1.1}
\begin{frame}
abc
\end{frame}
\section{Subsection 1.2}
\section{Section 2}
\section{Subsection 2.1}
\section{Subsection 2.2}
\begin{frame}
abc
\end{frame}
\end{document}