update projektor
This commit is contained in:
parent
5fc29ed72b
commit
6c94b32941
1 changed files with 10 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
|
||||||
\ProvidesPackage{projektor}[2023/04/29 Class who happen to use beamer]
|
\ProvidesPackage{projektor}[2023/04/29 Beamer template]
|
||||||
|
|
||||||
% Options
|
% Options
|
||||||
\newif\ifoption@code
|
\newif\ifoption@code
|
||||||
|
@ -24,7 +24,8 @@
|
||||||
% Metropolis + barre de progression + numéro de page
|
% Metropolis + barre de progression + numéro de page
|
||||||
\usetheme[
|
\usetheme[
|
||||||
progressbar=frametitle,
|
progressbar=frametitle,
|
||||||
numbering=fraction
|
numbering=fraction,
|
||||||
|
block=fill
|
||||||
]{metropolis}
|
]{metropolis}
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,10 +37,11 @@
|
||||||
\setbeamercolor{frametitle}{bg=black!92}
|
\setbeamercolor{frametitle}{bg=black!92}
|
||||||
\setbeamercolor*{palette primary}{use=structure,fg=structure.fg}
|
\setbeamercolor*{palette primary}{use=structure,fg=structure.fg}
|
||||||
\else
|
\else
|
||||||
|
% Augmente l'épaisseur de la barre de progression sur les diapos
|
||||||
\setlength{\metropolis@progressinheadfoot@linewidth}{0.8pt}
|
\setlength{\metropolis@progressinheadfoot@linewidth}{0.8pt}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% Footer
|
% Bas de page
|
||||||
\setbeamertemplate{frame footer}{
|
\setbeamertemplate{frame footer}{
|
||||||
\insertsection \hfill\hspace{-4em} \insertshorttitle
|
\insertsection \hfill\hspace{-4em} \insertshorttitle
|
||||||
}
|
}
|
||||||
|
@ -50,9 +52,7 @@
|
||||||
\setbeamertemplate{section in toc}[sections numbered]
|
\setbeamertemplate{section in toc}[sections numbered]
|
||||||
|
|
||||||
% Police
|
% Police
|
||||||
\RequirePackage[T1]{fontenc}
|
|
||||||
\RequirePackage{lmodern}
|
\RequirePackage{lmodern}
|
||||||
\renewcommand{\familydefault}{\sfdefault}
|
|
||||||
|
|
||||||
% Inverse titre court/titre long dans le plan
|
% Inverse titre court/titre long dans le plan
|
||||||
\RequirePackage{etoolbox}
|
\RequirePackage{etoolbox}
|
||||||
|
@ -61,5 +61,8 @@
|
||||||
\patchcmd{\beamer@section}{{\the\c@section}{\secname}}{{\the\c@section}{#1}}{}{}
|
\patchcmd{\beamer@section}{{\the\c@section}{\secname}}{{\the\c@section}{#1}}{}{}
|
||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
\RequirePackage{multicol} % liste sur plusieurs colonnes
|
% Liste sur plusieurs colonnes
|
||||||
\RequirePackage[figurename=]{caption} % nom des images
|
\RequirePackage{multicol}
|
||||||
|
|
||||||
|
% Pas de préfix pour les figures
|
||||||
|
\RequirePackage[figurename=]{caption}
|
||||||
|
|
Reference in a new issue