비머 헤더의 상자 사이에 있는 흰색 분리선

비머 헤더의 상자 사이에 있는 흰색 분리선

여기에서 얻은 귀중한 제안에 따라 몽펠리에 테마의 헤더를 수정했습니다.몽펠리에에서 파생된 맞춤형 외부 테마

이제 모든 것이 요청대로 작동하지만 이제 머리글과 바닥글의 상자 사이에 수직 및 수평 흰색 선이 모두 있습니다. MWE:

\documentclass[8pt]{beamer}
\usepackage{tikz}
\title{My title}
\author{My Author}
\institute{My Institute}
\date{April $17^{th}$ 2017}
\usetheme{Montpellier}
\useinnertheme{circles}
\setbeamertemplate{navigation symbols}{}%remove navigation symbols
\definecolor{gold}{RGB}{162,132,72} 
\setbeamercolor{footlinecolor}{fg=white,bg=gold}
\setbeamercolor{footlinecolor1}{fg=gold,bg=white}
\setbeamercolor{footlinecolor2}{fg=gold,bg=black}
\setbeamercolor{footlinecolor3}{fg=white,bg=black}
\setbeamercolor{title in head/foot}{fg=gold,bg=black}
\setbeamercolor{section in head/foot}{fg=white,bg=black}
\setbeamercolor{subsection in head/foot}{fg=white,bg=black}
\setbeamercolor{separation line}{bg=black}

\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{footlinecolor2}%{author in head/foot}%
\usebeamerfont{author in head/foot}My Institution
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,center]{footlinecolor3}%{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshortdate
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,right]{footlinecolor3}%{date in head/foot}%
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother

\addtobeamertemplate{headline}{}{%
\begin{tikzpicture}[remember picture,overlay]
\node at([shift={(4.5,-.5)}]current page.north) {\includegraphics[height=.45\headheight]{example-image}};
\end{tikzpicture}}


\begin{document}

\begin{frame}
 \maketitle
\end{frame}
\section{My Section}
\subsection{My Subsection}
\begin{frame}

my frame

\end{frame}

\end{document}

이것은 내가 얻는 결과입니다.

여기에 이미지 설명을 입력하세요

답변1

짧은:Preview동일한 PDF 렌더링 라이브러리를 사용하는 뷰어를 사용하지 마십시오 .

긴:문제는 아마도 미리 smooth text and line art보기 기본 설정을 확인했다는 것입니다.

여기에 이미지 설명을 입력하세요

사용하지 않으면 선은 사라지지만 텍스트는 보기 흉해집니다. 따라서 좋은 해결책은 아닙니다.

해결 방법:대신 에 예를 사용하십시오 Adobe Reader.

관련 정보