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