여기에서 얻은 귀중한 제안에 따라 몽펠리에 테마의 헤더를 수정했습니다.몽펠리에에서 파생된 맞춤형 외부 테마
이제 모든 것이 요청대로 작동하지만 이제 머리글과 바닥글의 상자 사이에 수직 및 수평 흰색 선이 모두 있습니다. 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}
이것은 내가 얻는 결과입니다.