Commit 13c2a720 authored by Yoann Pigné's avatar Yoann Pigné
Browse files

init

parents
This diff is collapsed.
% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
% A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
%
% This file is part of beamerthemefocus.
%
% beamerthemefocus is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% beamerthemefocus is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
% Overeiden version of the Focus Theme for the purpose of the LITIS Lab (2021)
\mode<presentation>
% DEFINE COLORS. ---------------------------------------------------------------
%%% pallette 1 : https://coolors.co/e63946-f1faee-a8dadc-457b9d-1d3557
% \definecolor{c1}{HTML}{1d3557} % froid foncé
% \definecolor{c2}{HTML}{457b9d} % froid clair
% \definecolor{c3}{HTML}{f1faee} % blanc
% \definecolor{c4}{HTML}{a8dadc} % chaud clair
% \definecolor{c5}{HTML}{e63946} % chaud foncé
%%% pallette 2 : https://coolors.co/3d5a80-98c1d9-e0fbfc-ee6c4d-293241
% \definecolor{c1}{HTML}{293241} % froid foncé
% \definecolor{c2}{HTML}{3D5A80} % froid clair
% \definecolor{c3}{HTML}{f0fbfc} % blanc
% \definecolor{c4}{HTML}{98C1D9} % chaud clair
% \definecolor{c5}{HTML}{EE6C4D} % chaud foncé
%%% pallette 3 :
% \definecolor{c1}{HTML}{2d3142} % froid foncé
% \definecolor{c2}{HTML}{4f5d75} % froid clair
% \definecolor{c3}{HTML}{ffffff} % blanc
% \definecolor{c4}{HTML}{bfc0c0} % chaud clair
% \definecolor{c5}{HTML}{ef8354} % chaud foncé
%%% pallette 4 : https://coolors.co/086788-07a0c3-f0c808-fff1d0-dd1c1a
% \definecolor{c1}{HTML}{086788} % froid foncé
% \definecolor{c2}{HTML}{07a0c3} % froid clair
% \definecolor{c3}{HTML}{fffefa} % blanc
% \definecolor{c4}{HTML}{f0c808} % chaud clair
% \definecolor{c5}{HTML}{dd1c1a} % chaud foncé
%%% pallette 5 : https://coolors.co/e63946-f1faee-a8dadc-457b9d-1d3557
\definecolor{c1}{HTML}{000000} % froid foncé
\definecolor{c2}{HTML}{14213d} % froid clair
\definecolor{c3}{HTML}{ffffff} % blanc
\definecolor{c4}{HTML}{d5d5d5} % chaud clair
\definecolor{c5}{HTML}{fca311} % chaud foncé
%%% pallette 6 : https://coolors.co/003049-d62828-f77f00-fcbf49-eae2b7
% \definecolor{c1}{HTML}{003049} % froid foncé
% \definecolor{c2}{HTML}{d62828} % froid clair
% \definecolor{c3}{HTML}{faf2f7} % blanc
% \definecolor{c4}{HTML}{fcbf49} % chaud clair
% \definecolor{c5}{HTML}{f77f00} % chaud foncé
%\definecolor{main}{RGB}{64, 64, 64}
%\definecolor{background}{RGB}{239, 239, 239}
\colorlet{main}{c1}
\colorlet{secondary}{c2}
\colorlet{background}{c3}
% \definecolor{alert}{RGB}{180, 0, 0}
% \definecolor{example}{RGB}{0, 110, 0}
\colorlet{alert}{c5}
\colorlet{example}{c4}
% SET COLORS. ------------------------------------------------------------------
\setbeamercolor{normal text}{fg=main, bg=background}
\setbeamercolor{alerted text}{fg=alert}
\setbeamercolor{example text}{fg=example}
\setbeamercolor{titlelike}{fg=background, bg=secondary}
\setbeamercolor{frametitle}{bg=background, fg=secondary}
\setbeamercolor{sectiontitle}{parent={titlelike}}
\setbeamercolor{footline}{fg=background, bg=secondary}
\setbeamercolor{block title}{bg=, fg=main!70!black}
\setbeamercolor{block body}{bg=, fg=main}
\setbeamercolor{block title alerted}{bg=alert, fg=background}
\setbeamercolor{block body alerted}{bg=alert!10!background, fg=main}
\setbeamercolor{block title example}{bg=example, fg=background}
\setbeamercolor{block body example}{bg=example!10!background, fg=main}
\setbeamercolor{itemize item}{fg=main}
\setbeamercolor{itemize subitem}{fg=main}
\setbeamercolor{enumerate item}{fg=main!70!black}
\setbeamercolor{enumerate subitem}{fg=main!70!black}
\setbeamercolor{description item}{fg=main!70!black}
\setbeamercolor{description subitem}{fg=main!70!black}
\setbeamercolor{caption name}{fg=main}
\setbeamercolor{section in toc}{fg=main}
\setbeamercolor{subsection in toc}{fg=main}
\setbeamercolor{section number projected}{bg=main}
\setbeamercolor{subsection number projected}{bg=main}
\setbeamercolor{bibliography item}{fg=main}
\setbeamercolor{bibliography entry author}{fg=main!70!black}
\setbeamercolor{bibliography entry title}{fg=main}
\setbeamercolor{bibliography entry location}{fg=main}
\setbeamercolor{bibliography entry note}{fg=main}
\mode<all>
% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
% A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
%
% This file is part of beamerthemefocus.
%
% beamerthemefocus is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% beamerthemefocus is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
% Overeiden version of the Focus Theme for the purpose of the LITIS Lab (2021)
\mode<presentation>
% SET FONTS. -------------------------------------------------------------------
\setbeamerfont{title}{size=\huge, shape=\scshape\bfseries}
\setbeamerfont{subtitle}{size=\Large, shape=\scshape, parent=structure}
\setbeamerfont{author}{size=\Large, shape=\scshape}
\setbeamerfont{institute}{size=\large, shape=\scshape}
\setbeamerfont{date}{size=\large, shape=\scshape}
\setbeamerfont{sectiontitle}{size=\huge, series=\scshape\bfseries}
\setbeamerfont{subsectiontitle}{size=\Large, series=\scshape\bfseries}
\setbeamerfont{frametitle}{size=\Large, shape=\scshape}
\setbeamerfont{footline}{size=\scriptsize}
\setbeamerfont{litisframe}{size=\huge, shape=\scshape}
\setbeamerfont{description item}{shape=\bfseries}
\setbeamerfont{caption name}{shape=\bfseries}
\setbeamerfont{bibliography item}{size=\small, shape=\scshape}
\setbeamerfont{bibliography entry author}{size=\small, shape=\scshape}
\setbeamerfont{bibliography entry title}{size=\small, series=\scshape\bfseries}
\setbeamerfont{bibliography entry location}{size=\small, shape=\scshape\normalfont}
\setbeamerfont{bibliography entry note}{size=\small, shape=\scshape\normalfont}
\mode<all>
% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
% A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
%
% This file is part of beamerthemefocus.
%
% beamerthemefocus is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% beamerthemefocus is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
% Overeiden version of the Focus Theme for the purpose of the LITIS Lab (2021)
\mode<presentation>
\RequirePackage{tikz}
% resources
\pgfdeclareimage[interpolate=true ,height=0.2\paperheight]{logo-litis-with-shade}{logos/logo-litis-with-shade.png}
\pgfdeclareimage[interpolate=true ,height=0.08\paperheight]{logo-insarn}{logos/logo-insarn.png}
\pgfdeclareimage[interpolate=true ,height=0.08\paperheight]{logo-ulhn}{logos/logo-ulhn.png}
\pgfdeclareimage[interpolate=true ,height=0.08\paperheight]{logo-urn}{logos/logo-urn.png}
\pgfdeclareimage[interpolate=true ,height=0.08\paperheight]{logo-nu}{logos/logo-nu.png}
% CUSTOMIZE STRUCTURE ELEMENTS. ------------------------------------------------
\setbeamertemplate{blocks}[rounded]
\setbeamertemplate{section in toc}[square]
\setbeamertemplate{subsection in toc}[square]
\setbeamertemplate{itemize items}[triangle]
\setbeamertemplate{itemize subitem}[triangle]
% STRUCTURE FRAME TEMPLATE DEFINITIONS. ----------------------------------------
% Title page.
\defbeamertemplate*{title page}{litis}{%
{%
%\usebeamerfont{footline}
\usebeamercolor{sectiontitle}\colorlet{litis@@temp}{bg}%
\begin{tikzpicture}[overlay, remember picture]
\fill[color=litis@@temp] (current page.south west) rectangle ([shift = {(0.66\paperwidth, 0)}] current page.north west);
% Calcul du placement des logos
%
% a b a b a
% |---|--------|---|--------|---|
% c
% |---------|---------|---------|
% x y
%
% c = 0.33333
% b = 0.1
% a = (c-2b)/3 = 0.0444
%
% x = a + (b/2) = 0.0944
% y = 2a + (3/2b) = 0.2388
% z = c/2 = 0.1666
\node [rotate=0,scale=1,text opacity=1,xshift=-0.1666\paperwidth,yshift=-0.2\paperheight]
at (current page.north east) {\pgfuseimage{logo-litis-with-shade}};
\node [anchor=center,rotate=0,scale=1,text opacity=1,xshift=-0.17\paperwidth,yshift=0.5\paperheight]
at (current page.south east) [text width=0.33\paperwidth, text centered] {Laboratoire d’informatique, du traitement de l’information et des systèmes};
% \node [xshift=-0.1666\paperwidth,yshift=0.66\paperheight]
% at (current page.south east) {ok}
\node [rotate=0,scale=1,text opacity=1,xshift=-0.2388\paperwidth,yshift=0.8cm]
at (current page.south east) {\pgfuseimage{logo-ulhn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.0944\paperwidth,yshift=0.8cm]
at (current page.south east) {\pgfuseimage{logo-insarn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.2388\paperwidth,yshift=2cm]
at (current page.south east) {\pgfuseimage{logo-urn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.0944\paperwidth,yshift=2cm]
at (current page.south east) {\pgfuseimage{logo-nu}};
\end{tikzpicture}
}
\vspace{-1.65\baselineskip}
\begin{minipage}[b][0.35\paperheight]{0.66\textwidth}
\vspace{\baselineskip}
\usebeamerfont{title}
\usebeamercolor[fg]{sectiontitle}
\inserttitle
\end{minipage}
\begin{minipage}[t][0.1\paperheight]{0.66\textwidth}
\usebeamerfont{subtitle}
\usebeamercolor[fg]{sectiontitle}
\insertsubtitle
\end{minipage}
% Set the title graphic in a zero-height box, so that
% the position of other elements is not affected.
{\vfuzz=9999pt\vbox to 0pt {
\raggedleft
\inserttitlegraphic
}}
\begin{minipage}[t]{0.66\textwidth}
\usebeamerfont{author}
\usebeamercolor[fg]{sectiontitle}
\insertauthor
\end{minipage}
\vspace*{\baselineskip}
\begin{minipage}[t]{0.66\textwidth}
\usebeamerfont{institute}
\usebeamercolor[fg]{sectiontitle}
\insertinstitute
\end{minipage}
\vspace*{\baselineskip}
\begin{minipage}[t]{0.66\textwidth}
\usebeamerfont{date}
\usebeamercolor[fg]{sectiontitle}
\insertdate
\end{minipage}
\vspace*{0pt plus 100fill}
\addtocounter{framenumber}{-1}
\addtocounter{realframenumber}{-1}
}
% Section page.
\defbeamertemplate*{section page}{litis}{%
% {%
% \usebeamercolor{sectiontitle}\colorlet{litis@@temp}{bg}%
% \begin{tikzpicture}[overlay, remember picture]
% \fill[color=litis@@temp] (current page.north west) rectangle ([shift = {(0, -0.45\paperheight)}] current page.north east);
% \end{tikzpicture}%
% }
{%
\usebeamercolor{sectiontitle}\colorlet{litis@@temp}{bg}%
\begin{tikzpicture}[overlay, remember picture]
\fill[color=litis@@temp] (current page.south west) rectangle ([shift = {(0.66\paperwidth, 0)}] current page.north west);
\node [rotate=0,scale=1,text opacity=1,xshift=-0.1666\paperwidth,yshift=-0.2\paperheight]
at (current page.north east) {\pgfuseimage{logo-litis-with-shade}};
\node [anchor=center,rotate=0,scale=1,text opacity=1,xshift=-0.17\paperwidth,yshift=0.5\paperheight]
at (current page.south east) [text width=0.333\paperwidth, text centered] {Laboratoire d’informatique, du traitement de l’information et des systèmes};
% \node [xshift=-0.1666\paperwidth,yshift=0.66\paperheight]
% at (current page.south east) {ok}
\node [rotate=0,scale=1,text opacity=1,xshift=-0.2388\paperwidth,yshift=0.8cm]
at (current page.south east) {\pgfuseimage{logo-ulhn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.0944\paperwidth,yshift=0.8cm]
at (current page.south east) {\pgfuseimage{logo-insarn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.2388\paperwidth,yshift=2cm]
at (current page.south east) {\pgfuseimage{logo-urn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.0944\paperwidth,yshift=2cm]
at (current page.south east) {\pgfuseimage{logo-nu}};
\end{tikzpicture}
}
\vspace{-2.5\baselineskip}
\begin{minipage}[b][0.45\paperheight]{\textwidth}
\usebeamerfont{sectiontitle}
\usebeamercolor[fg]{sectiontitle}
\let\hyperlink\@secondoftwo\insertsection
\end{minipage}
\vspace{\baselineskip}
\begin{minipage}[t][0.5\paperheight]{\textwidth}
\usebeamerfont{subsectiontitle}
\usebeamercolor[bg]{sectiontitle}
\insertsubsection
\end{minipage}
}
\AtBeginSection[]{%
\begin{frame}[plain, noframenumbering]{}
\sectionpage
\end{frame}%
}
% Subsection page.
\defbeamertemplate*{subsection page}{litis}{%
{
\usebeamercolor{sectiontitle}\colorlet{litis@@temp}{bg}%
\begin{tikzpicture}[overlay, remember picture]
\fill[color=litis@@temp] (current page.south west) rectangle ([shift = {(0.66\paperwidth, 0)}] current page.north west);
\node [rotate=0,scale=1,text opacity=1,xshift=-0.1666\paperwidth,yshift=-0.2\paperheight]
at (current page.north east) {\pgfuseimage{logo-litis-with-shade}};
\node [anchor=center,rotate=0,scale=1,text opacity=1,xshift=-0.17\paperwidth,yshift=0.5\paperheight]
at (current page.south east) [text width=0.333\paperwidth, text centered] {Laboratoire d’informatique, du traitement de l’information et des systèmes};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.2388\paperwidth,yshift=0.8cm]
at (current page.south east) {\pgfuseimage{logo-ulhn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.0944\paperwidth,yshift=0.8cm]
at (current page.south east) {\pgfuseimage{logo-insarn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.2388\paperwidth,yshift=2cm]
at (current page.south east) {\pgfuseimage{logo-urn}};
\node [rotate=0,scale=1,text opacity=1,xshift=-0.0944\paperwidth,yshift=2cm]
at (current page.south east) {\pgfuseimage{logo-nu}};
\end{tikzpicture}
}
\vspace{-2.5\baselineskip}
\begin{minipage}[b][0.45\paperheight]{0.66\textwidth}
\usebeamerfont{sectiontitle}
\usebeamercolor[fg]{sectiontitle}
\let\hyperlink\@secondoftwo\insertsection
\end{minipage}
\vspace{\baselineskip}
\begin{minipage}[t][0.5\paperheight]{0.66\textwidth}
\usebeamerfont{subsectiontitle}
\usebeamercolor[fg]{sectiontitle}
\insertsubsection
\end{minipage}
}
\AtBeginSubsection[]{%
\begin{frame}[plain, noframenumbering]{}
\subsectionpage
\end{frame}%
}
\mode<all>
<
% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
% A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
%
% This file is part of beamerthemefocus.
%
% beamerthemefocus is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% beamerthemefocus is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
% Overeiden version of the Focus Theme for the purpose of the LITIS Lab (2021)
\mode<presentation>
\RequirePackage{appendixnumberbeamer} % Don't number appendix frames.
% Fix hyperref warning caused by \appendix
% (https://tex.stackexchange.com/questions/192686/hyperref-warning-caused-by-beamer-appendix).
\newcommand*{\bkmtranslateto}{\languagename}
\newcommand*{\bkmtranslate}[1]{%
\ifcsname tr@@@\bkmtranslateto @#1\endcsname
\csname tr@@@\bkmtranslateto @#1\endcsname
\else
#1%
\fi
}
\pdfstringdefDisableCommands{\let\translate\bkmtranslate}
\RequirePackage{bookmark}
\RequirePackage{etoolbox} % \BeforeBeginEnvironment.
\RequirePackage{tikz}
\newcounter{realframenumber}
\pgfdeclareimage[interpolate=true ,width=1.5cm]{logo-litis}{logos/logo-litis.png}
% FRAMETITLE TEMPLATES. --------------------------------------------------------
\defbeamertemplate*{frametitle}{litis}{%
% If not title page.
\ifnum\value{realframenumber}>0%
\vspace{-1pt}%
% \begin{beamercolorbox}[wd=\paperwidth,leftskip=0.55cm,rightskip=0.55cm,sep=0.2cm]{frametitle}%
% \strut\insertframetitle\strut%
% \end{beamercolorbox}%
\begin{beamercolorbox}[wd=\paperwidth,leftskip=0.55cm,rightskip=3cm,sep=0.2cm]{frametitle}%
\strut\insertframetitle\strut%
\begin{tikzpicture}[remember picture,overlay]
\node [rotate=0,scale=1,text opacity=1,xshift=-1.30cm,yshift=-.5cm]
at (current page.north east) {\pgfuseimage{logo-litis}};
\end{tikzpicture}
\end{beamercolorbox}%
\fi%
}
% Plain header.
\defbeamertemplate{frametitle}{plain}{%
% If not title page.
\ifnum\value{realframenumber}>0%
\vspace{-1pt}%
\begin{beamercolorbox}[wd=\paperwidth,leftskip=0.55cm,rightskip=0.55cm,sep=0.2cm,ignorebg]{frametitle}%
\strut%
\end{beamercolorbox}%
\fi%
}
% FOOTLINE TEMPLATES. ----------------------------------------------------------
% Lenghts for the progress bar footline.
\newlength{\litis@pbar@height}% Progress bar height.
\newlength{\litis@pbar@leftoffset}
\newlength{\litis@pbar@rightoffset}
\defbeamertemplate*{footline}{progressbar}{%
% If not appendix.
\ifnum\mainend<0% From package appendixnumberbeamer.
%
\settowidth{\litis@pbar@leftoffset}{1}%
\addtolength{\litis@pbar@leftoffset}{1.5em}%
%
\settowidth{\litis@pbar@rightoffset}{\inserttotalframenumber}%
\addtolength{\litis@pbar@rightoffset}{1.5em}%
%
% If not title page.
\ifnum\value{realframenumber}>0%
\ifnum\value{framenumber}<\inserttotalframenumber%
\begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex]\usebeamerfont{footline}
\pgfmathsetmacro{\litis@pbar@progress}%
{(\paperwidth-\litis@pbar@leftoffset-\litis@pbar@rightoffset)*(\insertframenumber/\inserttotalframenumber)}
\clip (0,0) rectangle ++(\paperwidth,\the\litis@pbar@height);
\fill[footline.bg] (0,0) rectangle ++(\the\litis@pbar@leftoffset,\the\litis@pbar@height);
\fill[footline.bg] (\the\litis@pbar@leftoffset,0) rectangle ++(\litis@pbar@progress pt,\the\litis@pbar@height)
++(0,{-0.5*\the\litis@pbar@height}) node[anchor=east, text=footline.fg] {\strut\insertframenumber};
\fill[footline.bg] (\paperwidth,0) rectangle ++(-\the\litis@pbar@rightoffset,\the\litis@pbar@height)
++(0,{-0.5*\the\litis@pbar@height}) node[anchor=west, text=footline.fg] {\strut\inserttotalframenumber};
\end{tikzpicture}%
\else%
\begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex]
\clip (0,0) rectangle ++(\paperwidth,\the\litis@pbar@height);
\fill[footline.bg] (0,0) rectangle ++(\paperwidth,\the\litis@pbar@height);
\node[anchor=east, footline.fg] at ({\paperwidth-\the\litis@pbar@rightoffset},{0.5*\litis@pbar@height}) {\strut\insertframenumber};
\node[footline.fg] at ({\paperwidth-\the\litis@pbar@rightoffset},{0.5*\litis@pbar@height}) {\strut/};
\node[anchor=west, footline.fg] at ({\paperwidth-\the\litis@pbar@rightoffset},{0.5*\litis@pbar@height}) {\strut\inserttotalframenumber};
\end{tikzpicture}%
\fi%
\fi%
\fi%
}
% Full bar footline.
\def\footlineinfo#1{\def\litis@footlineinfo{#1}}
\footlineinfo{} % Empty by default.
\defbeamertemplate{footline}{fullbar}{%
% If not appendix.
\ifnum\mainend<0% From package appendixnumberbeamer.
%
\settowidth{\litis@pbar@leftoffset}{1}%
\addtolength{\litis@pbar@leftoffset}{1.5em}%
%
\settowidth{\litis@pbar@rightoffset}{\inserttotalframenumber}%
\addtolength{\litis@pbar@rightoffset}{1.5em}%
%
% If not title page.
\ifnum\value{realframenumber}>0%
\begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex]
\clip (0,0) rectangle ++(\paperwidth,\the\litis@pbar@height);
\fill[footline.bg] (0,0) rectangle ++(\paperwidth,\the\litis@pbar@height);
\ifx\litis@footlineinfo\empty
\else
\node[anchor=west, footline.fg] at ({\the\litis@pbar@leftoffset},{0.5*\litis@pbar@height}) {\litis@footlineinfo};
\fi
\node[anchor=east, footline.fg] at ({\paperwidth-\the\litis@pbar@rightoffset},{0.5*\litis@pbar@height}) {\strut\insertframenumber};
\node[footline.fg] at ({\paperwidth-\the\litis@pbar@rightoffset},{0.5*\litis@pbar@height}) {\strut/};
\node[anchor=west, footline.fg] at ({\paperwidth-\the\litis@pbar@rightoffset},{0.5*\litis@pbar@height}) {\strut\inserttotalframenumber};
\end{tikzpicture}%
\fi%
\fi%
}
% Empty footline.
\defbeamertemplate{footline}{none}{}
\DeclareOptionBeamer{numbering}{\def\beamer@litis@numbering{#1}}
\ExecuteOptionsBeamer{numbering=progressbar}
\ProcessOptionsBeamer
\def\beamer@litis@numberingprogressbar{progressbar}
\def\beamer@litis@numberingfullbar{fullbar}
\def\beamer@litis@numberingnone{none}
% BACKGROUND CANVAS TEMPLATES. -------------------------------------------------
\defbeamertemplate*{background canvas}{litis}{%
\begin{tikzpicture}
\clip (0,0) rectangle ++(\paperwidth,\paperheight);
\fill[normal text.bg] (0,0) rectangle ++(\paperwidth,\paperheight);
\end{tikzpicture}%
}
\defbeamertemplate{background canvas}{litisframe}{%
\begin{tikzpicture}
\clip (0,0) rectangle ++(\paperwidth,\paperheight);
\fill[sectiontitle.bg] (0,0) rectangle ++(\paperwidth,\paperheight);
\end{tikzpicture}%
}
% HOOKS FOR CREATING FRAMES. ---------------------------------------------------
\BeforeBeginEnvironment{frame}{%
\stepcounter{realframenumber}