add makefile and comment minted

This commit is contained in:
Mylloon 2023-01-27 18:58:27 +01:00
parent 99a039898a
commit c2267834e8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 19 additions and 3 deletions

View file

@ -1 +1,2 @@
!*.tex !*.tex
!Makefile

15
TP1/Rapport/Makefile Normal file
View file

@ -0,0 +1,15 @@
NAME = rapport
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

View file

@ -10,12 +10,12 @@
\usepackage[hidelinks]{hyperref} % liens cliquable dans la table des matières \usepackage[hidelinks]{hyperref} % liens cliquable dans la table des matières
\usepackage{graphicx} % images \usepackage{graphicx} % images
\usepackage{caption} % \usepackage{caption}
\usepackage[a4paper, left=20mm, top=20mm]{geometry} % dimensions de la page \usepackage[a4paper, left=20mm, top=20mm]{geometry} % dimensions de la page
\usepackage{minted} % intégration code % \usepackage{minted} % intégration code
\usemintedstyle{emacs} % \usemintedstyle{emacs}
\title{\textbf{TP1 - Sokoban}} \title{\textbf{TP1 - Sokoban}}
\author{César PICHON, Florian POSEZ, Omar ANOUAR, Anri KENNEL\\ \author{César PICHON, Florian POSEZ, Omar ANOUAR, Anri KENNEL\\