
Estoy intentando modificar la AnnArbor
plantilla. Para ello me gustaría deshacerme de la pequeña línea entre el encabezado y el título del marco (ver imagen).
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}
Lo que crea esta diapositiva. Puedes ver la línea delgada hacia donde apunta la flecha roja.
No estoy seguro de si la línea proviene del proyector o si es un problema con el visor de PDF, pero me encantaría encontrar una forma sencilla de eliminarla.
Respuesta1
Creo que esto es un problema del espectador. El único visor con el que puedo reproducir el problema es la vista previa de Mac. Se ve bien en Adobe Reader y en el visor basado en Poppler de texstudio.
De todos modos, puedes evitar el problema agregando un poco de espacio negativo antes del título del marco:
\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}