diff --git a/.gitignore b/.gitignore index 47f76c8..d5f4afd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ presentation/* !presentation/*.tex +!presentation/*.sty bin/ lib/ diff --git a/presentation/projektor.sty b/presentation/projektor.sty new file mode 100644 index 0000000..1d3b168 --- /dev/null +++ b/presentation/projektor.sty @@ -0,0 +1,51 @@ +\NeedsTeXFormat{LaTeX2e} + +\ProvidesPackage{projektor}[2023/04/29 Class who happen to use beamer] + +% Options +\newif\ifoption@code +\DeclareOption{code}{\option@codetrue} +\newif\ifoption@fr +\DeclareOption{fr}{\option@frtrue} + +\ProcessOptions +\ifoption@code + % Intégration code + \RequirePackage{minted} + \usemintedstyle{emacs} +\fi +\ifoption@fr + % Langue + \RequirePackage[french]{babel} +\fi + +% Metropolis + barre de progression + numéro de page +\usetheme[ + progressbar=frametitle, + numbering=fraction +]{metropolis} + +% Footer +\setbeamertemplate{frame footer}{ + \insertsection \hfill\hspace{-4em} \insertshorttitle +} +\setbeamerfont{page number in head/foot}{size=\tiny} +\setbeamercolor{footline}{fg=gray} + +% Enumerate au lieu d'itemize +\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} +\makeatletter +\patchcmd{\beamer@section}{{#2}{\the\c@page}}{{#1}{\the\c@page}}{}{} +\patchcmd{\beamer@section}{{\the\c@section}{\secname}}{{\the\c@section}{#1}}{}{} +\makeatother + +\RequirePackage{multicol} % liste sur plusieurs colonnes +\RequirePackage[figurename=]{caption} % nom des images diff --git a/presentation/slides.tex b/presentation/slides.tex index e69de29..08c4ab7 100644 --- a/presentation/slides.tex +++ b/presentation/slides.tex @@ -0,0 +1,25 @@ +\documentclass{beamer} + +\usepackage[fr]{projektor} + +\title[Implémentation projet tuteuré]{Implémentation du projet tuteuré - Errsy} +\author{\href{mailto:anri.kennel@etud.univ-paris8.fr}{Anri Kennel} | L3} +\institute{Projet tuteuré $\cdot$ Université Paris 8} +\date{Année universitaire 2022-2023} + +\begin{document} + +\maketitle + +\begin{frame}[t,plain]{Plan} + \tableofcontents +\end{frame} + +\section{Projet} +\begin{frame}{Projet} +\end{frame} + +\appendix +\section{\hspace{3cm} Merci} + +\end{document}