I am making a presentation with Beamer. Couple days ago I customized the template with some additional stuff such as:
\addtobeamertemplate{headline}{}{\rule{\paperwidth}{1pt}}
I had also really simple Tikz figure such as:
\begin{tikzpicture}
\draw (0,0) circle (1) ;
\end{tikzpicture}
Everything worked fine, I had no errors and everything was displayed how I wanted. However, I had some errors when compiling with biblatex (versions error between biber and biblatex). After trying many things without success (such as updates) I deleted miktek (it was the basic version) and installed the complete version. The problem with the bibliography was solved, however I have some new issues. What I costumed does not appear anymore such as the rule in the headline part or the tikzpicture shape.
In addition, the subsection font size within the table of content in the sidebar decreased (when compared before deleting the miktek version) and the following command neither work
\setbeamerfont{subsection in toc}{size=\large}
Also, I have many warnings that I did not have before such as:
-Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding)
-LaTeX Font Warning: Font shape `T1/lmss/m/sc' in size <8> not available
It looks that the new version is in cause. Is anyone has an idea ? Thanks a lot
Here the full code:
\documentclass[12pt,t,aspectratio=43]{beamer} %1610, 149, 54, 43(defaut) and 32. By default, it is to 128mm by 96mm(4:3).
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{lmodern}% Fontes modernes pour Adobe. Recommandé
\usepackage{multimedia}% pr ajouter des videos
\usepackage[normalem]{ulem}
\usepackage{tikz}
\usepackage[loadonly]{enumitem}
\newlist{arrowlist}{itemize}{1}
\setlist[arrowlist]{label=$\Rightarrow$}
\usetikzlibrary{arrows,shapes,backgrounds,patterns}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,foreground}
\usepackage[absolute,overlay]{textpos}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{csquotes}
\usepackage[font=scriptsize,labelfont=scriptsize,skip=1pt]{caption}
\captionsetup{justification=raggedright,singlelinecheck=false}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{biblio.bib}
\renewcommand{\footnotesize}{\scriptsize}
%%%%%%%%%%%%%%%%% THEMES%%%%%%%%%%%%%%%%%
\usetheme[hideothersubsections]{Berkeley}
\makeatletter
\beamer@headheight=1.5\baselineskip%change size headline default .
\makeatother
\usecolortheme{Dove}
\setbeamertemplate{caption}[numbered]
%\usefonttheme{serif}
%\useinnertheme{rectangles}
%\useoutertheme{sidebar}
%\setbeamercolor{titre}{bg=blue,fg=white}
%\setbeamercolor{texte}{bg=white,fg=black}
\hypersetup{pdfpagemode=FullScreen}
\setbeamertemplate{navigation symbols}{}
\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}
\title[Aut]{ \protect{\underline{Presentation:}{\protect{\textit{ name of te presentation}}}}}
\subtitle{\vspace*{+0.4cm} \protect{\underline{to:}} Mr.\\
and Mr.\\}
\author[]{Charles}
\institute{World}
\date{\today}
\setbeamertemplate{title page}[default][left]
\addtobeamertemplate{headline}{}{\rule{\paperwidth}{1pt}}
%\addtobeamertemplate{footline}{\rule{\paperwidth}{3pt}}{}
\setbeamerfont{section in toc}{size=\large}
\setbeamerfont{subsection in toc}{size=\large}
%\setbeamerfont{subsubsection in toc}{size=\large}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{first section}
\begin{frame}
\frametitle{first section}
\vspace*{-0.4cm}
\underline{blabla}
\begin{textblock*}{4cm}(2cm,2cm) % {block width} (coords)
\end{textblock*}
\begin{textblock*}{7cm}(6.5cm,2.0cm) % {block width} (coords)
Locally introduce:
\begin{itemize}
\item<1-> blabl
\item<2-> blabl
\item<3-> blabl
\end{itemize}
\begin{arrowlist}%[leftmargin=1em]
\item<4-> blabl
\end{arrowlist}
\end{textblock*}
\begin{textblock*}{6cm}(2.0cm,5cm) % {block width} (coords)
\rule{\linewidth}{.5pt}
Globally
\end{textblock*}
\end{frame}
\section{2nd section}
\subsection{2nd section 1st subsection}
\begin{frame}
\begin{tikzpicture}
\draw (0,0)circle (10) ;
\end{tikzpicture}
\end{frame}
\subsection{2nd section 2nd subsection}
\begin{frame}
slide
\begin{block}{Un bloc normal}
\end{block}
\setbeamertemplate{blocks}[rounded][shadow=false]
\begin{alertblock}{Bloc alerte}
\end{alertblock}
\begin{exampleblock}{Un bloc exemple}
\end{exampleblock}
\end{frame}
\begin{frame}
\setbeamertemplate{blocks}[rounded][shadow=false]
\begin{columns}[c] % choix entre t, b, c
\begin{column}{2cm}
\begin{block}{Bloc n°1}
Texte du bloc n°1.
\end{block}
\end{column}
\begin{column}{5cm}
\begin{block}{Bloc n°2}
Texte du bloc n°2, un peu plus long celui-ci pour voir les alignements.
\end{block}
\end{column}
\begin{column}{2cm}
\begin{block}{Bloc n°3}
Texte du bloc n°3.
\end{block}
\end{column}
\end{columns}
\end{frame}
\section{Conclusion}
\begin{frame}[label=conclusion]
\end{frame}
\end{document}
\documentclass{...}
and ending with\end{document}
.