From 2f5b6b51da44f2998b42f092c8ea76658289d738 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 11 Dec 2023 16:50:16 +0100 Subject: [PATCH] Example --- .gitignore | 3 +++ README.md | 6 ++++++ examples/Makefile | 17 +++++++++++++++++ examples/cv.tex | 19 +++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 examples/Makefile create mode 100644 examples/cv.tex diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78a8d9d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +examples/* +!examples/*.tex +!examples/Makefile diff --git a/README.md b/README.md index ebb407f..2b3b3eb 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,9 @@ Dans le fichier `.tex` : ```latex \usepackage{bywyd} ``` + +## [Exemples](./examples) + +Voir les [exemples](./examples) d'utilisation et voir la +[page CTAN de limecv](https://ctan.org/pkg/limecv) pour des exemples plus +concrets. diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 0000000..d31f50e --- /dev/null +++ b/examples/Makefile @@ -0,0 +1,17 @@ +NAMES = cv +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 f,$(NAMES),$(foreach e,$(EXTS),$(f).$(e))) diff --git a/examples/cv.tex b/examples/cv.tex new file mode 100644 index 0000000..99953c8 --- /dev/null +++ b/examples/cv.tex @@ -0,0 +1,19 @@ +\documentclass[11pt,a4paper]{limecv} + +\usepackage[fr]{../bywyd} + +% Données +\cvDocumentTitle{Titre du document} +\cvAuthorName{Prénom}{Nom} + +\begin{document} + +\begin{cvSidebar} + \cvID{\cvFirstname}{\cvLastname}{}{\cvTitle} +\end{cvSidebar} + +\begin{cvMainContent} + +\end{cvMainContent} + +\end{document}