diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65250fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +example/* +!example/*.tex +!example/Makefile diff --git a/example/Makefile b/example/Makefile new file mode 100644 index 0000000..19bc281 --- /dev/null +++ b/example/Makefile @@ -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))) diff --git a/example/dark.tex b/example/dark.tex new file mode 100644 index 0000000..cecff01 --- /dev/null +++ b/example/dark.tex @@ -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} diff --git a/example/light.tex b/example/light.tex new file mode 100644 index 0000000..13ccf77 --- /dev/null +++ b/example/light.tex @@ -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}