Add examples

This commit is contained in:
Mylloon 2023-05-29 18:44:28 +02:00
parent 2db8e599a6
commit ffa5ad2f9b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 69 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
example/*
!example/*.tex
!example/Makefile

18
example/Makefile Normal file
View file

@ -0,0 +1,18 @@
NAMES = light dark
TEX = $(foreach i,$(NAMES),$(i).tex)
PDF = $(TEX:.tex=.pdf)
TEXMK = latexmk -lualatex -shell-escape
RM = rm -rf
all: $(PDF)
$(PDF): %.pdf: %.tex
$(TEXMK) $<
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
clean:
$(RM) $(PDF) \
$(foreach i,$(NAMES),_minted-$(i)/) \
$(foreach i,$(NAMES),$(foreach j,$(EXTS),$(i).$(j)))

24
example/dark.tex Normal file
View file

@ -0,0 +1,24 @@
\documentclass{beamer}
\usepackage[fr,code,dark]{../projektor}
\title{Titre du document}
\author{Auteur du document}
\date{Date de rédaction du document}
\begin{document}
\maketitle
\begin{frame}[t, plain]{Plan}
\tableofcontents
\end{frame}
\section{Nom de la section}
\begin{frame}{Titre de la Page}
Contenu de la page\dots
\end{frame}
\section*{\hspace*{15mm} Texte de conclusion}
\end{document}

24
example/light.tex Normal file
View file

@ -0,0 +1,24 @@
\documentclass{beamer}
\usepackage[fr,code]{../projektor}
\title{Titre du document}
\author{Auteur du document}
\date{Date de rédaction du document}
\begin{document}
\maketitle
\begin{frame}[t, plain]{Plan}
\tableofcontents
\end{frame}
\section{Nom de la section}
\begin{frame}{Titre de la Page}
Contenu de la page\dots
\end{frame}
\section*{\hspace*{15mm} Texte de conclusion}
\end{document}