Beamer:上部颜色相同

Beamer:上部颜色相同

此代码将在每帧的上部创建两种颜色。我怎样才能只有一种颜色,即深蓝色?

代码:

\documentclass[xcolor=dvipsnames,11pt,mathserif]{beamer} 
\usetheme{Berlin}          % main theme
%\usecolortheme{lily}      % outer colour
\usecolortheme{rose}       % inner colour
\useoutertheme{infolines}     

\author{PSK} 
\title{Presentation} 

\begin{document}


\begin{frame}
\titlepage
\end{frame}

\section{Part I}
\begin{frame}{1st Frame}
 In this presentation ...
\end{frame}

\end{document}

答案1

Infolines 外部主题集

\setbeamercolor*{section in head/foot}{parent=palette tertiary}
\setbeamercolor*{subsection in head/foot}{parent=palette primary}

你想要的颜色由以下因素决定,palette tertiary所以最快的解决方案是设置

\setbeamercolor*{subsection in head/foot}{parent=palette tertiary}
\setbeamercolor*{frametitle}{parent=palette tertiary}

完整示例:

\documentclass[xcolor=dvipsnames,11pt,mathserif]{beamer} 
\usetheme{Berlin}          % main theme
%\usecolortheme{lily}      % outer colour
\usecolortheme{rose}       % inner colour
\useoutertheme{infolines}     

\setbeamercolor*{subsection in head/foot}{parent=palette tertiary}
\setbeamercolor*{frametitle}{parent=palette tertiary}

\author{PSK} 
\title{Presentation} 

\begin{document}


\begin{frame}
\titlepage
\end{frame}

\section{Part I}
\begin{frame}{1st Frame}
 In this presentation ...
\end{frame}

\end{document}

在此处输入图片描述

相关内容