Add slides

This commit is contained in:
Mylloon 2023-04-07 16:23:09 +02:00
parent 47e7456150
commit fcff1bf7ea
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 75 additions and 0 deletions

View file

@ -1,2 +1,4 @@
!*.tex
!Makefile
!presentation/

5
TP2/Rapport/presentation/.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*
!.gitignore
!*.tex
!Makefile

View file

@ -0,0 +1,16 @@
NAME = slides
TEX = $(NAME).tex
SRC = $(TEX)
PDF = $(TEX:.tex=.pdf)
# FLAGS = -shell-escape # pour minted
all: $(PDF)
$(PDF): $(SRC)
@pdflatex $(FLAGS) $(TEX)
pdflatex $(FLAGS) $(TEX)
clean:
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \
$(NAME).toc $(NAME).fdb_latexmk $(NAME).fls $(NAME).synctex.gz \
$(NAME).nav $(NAME).snm

View file

@ -0,0 +1,52 @@
\documentclass{beamer}
% Metropolis + barre de progression + numéro de page
\usetheme[progressbar=frametitle, numbering=fraction]{metropolis}
% Texte footer
\setbeamertemplate{frame footer}{\insertsection \hfill\hspace{-4em} \insertshorttitle}
\setbeamerfont{page number in head/foot}{size=\tiny} % taille
\setbeamercolor{footline}{fg=gray} % couleur
% enumerate au lieu d'itemize
\setbeamertemplate{section in toc}[sections numbered]
% Encodage
\usepackage[T1]{fontenc}
% Font
\usefonttheme{serif}
\usepackage{fontspec}
\setmainfont[Numbers={Monospaced}]{Fira Sans}
\setmonofont{Fira Code}
% Langue
\usepackage[french]{babel}
% Inverse le titre court et le titre long dans le plan
\usepackage{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
% Liens cliquable
\usepackage{hyperref}
% Liste sur plusieurs colonnes
\usepackage{multicol}
\title{TP2 - Breakthrough}
\author{Groupe 4 - \tiny{César PICHON, Florian POSEZ, Omar ANOUAR, Anri KENNEL}}
\institute{Intelligence artificielle pour les jeux $\cdot$ Université Paris 8}
\date{Année universitaire 2022-2023}
\begin{document}
\maketitle
\begin{frame}[t,plain]{Plan}
\tableofcontents
\end{frame}
\end{document}