
Estou tentando modificar o AnnArbor
modelo. Para isso gostaria de me livrar da pequena linha entre o cabeçalho e o título do quadro (ver imagem).
MWE:
\documentclass{beamer}
%Theme
\usetheme{AnnArbor}
% Theme colors
\setbeamercolor{section in head/foot}{fg=black, bg=white}
\setbeamercolor{subsection in head/foot}{fg=white, bg=blue}
\setbeamercolor{frametitle}{fg=white, bg=blue}
\begin{document}
\section{Section 1}
\subsection{Subsection 1}
\begin{frame}
\frametitle{Frame title}
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}
\end{document}
O que cria este slide. Você pode ver a linha fina para onde a seta vermelha está apontando.
Não tenho certeza se a linha vem do projetor ou se é um problema com o visualizador de PDF, mas ficaria feliz em encontrar uma maneira simples de removê-la.
Responder1
Acho que isso é um problema do espectador. O único visualizador com o qual posso reproduzir o problema é o Mac Preview. Parece bom no Adobe Reader e no visualizador baseado em poppler do texstudio.
De qualquer forma, você pode evitar o problema adicionando um pouco de espaço negativo antes do frametitle:
\documentclass{beamer}
%Theme
\usetheme{AnnArbor}
% Theme colors
\setbeamercolor{section in head/foot}{fg=black, bg=white}
\setbeamercolor{subsection in head/foot}{fg=white, bg=blue}
\setbeamercolor{frametitle}{fg=white, bg=blue}
\addtobeamertemplate{frametitle}{\vskip-0.05cm}{}
\begin{document}
\section{Section 1}
\subsection{Subsection 1}
\begin{frame}
\frametitle{Frame title}
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}
\end{document}