Beamer documentatoin:
8.2.2 The Sidebars
Sidebars are vertical areas that stretch from the lower end of the headline to the top of the footline
I created a left sidebar that does not behave as described in the Beamer documentation (see excerpt above), since its beginning is overlapping the area of the headline a bit (see figure below).
The presentation was generated by the code:
\documentclass[aspectratio=169]{beamer}
\usepackage{tikz}
\setbeamersize{text margin left=0pt,text margin right=0pt}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{headline}{%
\setlength{\fboxsep}{2.5pt}%
\setlength{\fboxrule}{0.5pt}%
\framebox[\textwidth][r]{\insertframenumber{ / }\inserttotalframenumber\hfill\insertshortdate}%
}%
\setbeamertemplate{footline}{%
\setlength{\fboxsep}{2.5pt}%
\setlength{\fboxrule}{0.5pt}%
\framebox[\textwidth][r]{\insertshortdate\hfill\insertframenumber{ / }\inserttotalframenumber}%
}%
\setbeamersize{sidebar width left=2cm}
\setbeamertemplate{sidebar left}{
\setlength{\fboxsep}{0.0pt}%
\setlength{\fboxrule}{0.5pt}%
\framebox[2\width]{\small UNISIM}%
%\framebox[2cm]{\includegraphics[height=1.0cm]{figs/fig1.png}}%
}%
%\setbeamertemplate{sidebar canvas left}[vertical shading][top=blue!70!black, bottom=red!70!black]%
\setbeamertemplate{background}[grid]%
\setbeamertemplate{background canvas}{%
\begin{tikzpicture}
\node[opacity=0.5,inner sep=0pt] at (current page.center)
{\includegraphics[width=\paperwidth,height=\paperheight]{figs/fig1.png}};
\end{tikzpicture}
}%
\title{Sample title}
\begin{document}
\frame{\titlepage}
\section{Introduction}
\begin{frame}
First Introduction Frame
\end{frame}
\begin{frame}
Second Introduction Frame
\end{frame}
\section{Review}
\begin{frame}
First Review
\end{frame}
\end{document}
Questions:
- What is the explanation for the mentioned, apparently abnormal, behavior?
- How can I fix it?
Motivations: I am building a personalized presentation and, for that, I am exploring Beamer and Latex commands. Here, I am trying to get used to some Beamer customization features while learn how to deal with boxes.


beamerouterthemesidebar.sty– user94293 Dec 05 '19 at 14:27