Add examples
This commit is contained in:
parent
2db8e599a6
commit
ffa5ad2f9b
4 changed files with 69 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
example/*
|
||||
!example/*.tex
|
||||
!example/Makefile
|
18
example/Makefile
Normal file
18
example/Makefile
Normal 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
24
example/dark.tex
Normal 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
24
example/light.tex
Normal 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}
|
Loading…
Reference in a new issue