Add exercice for logique programmable
This commit is contained in:
parent
8bd5268015
commit
422ea18d0e
3 changed files with 37 additions and 9 deletions
|
@ -1,14 +1,22 @@
|
|||
filename=$(shell basename $(shell pwd))
|
||||
timestamp=$(shell date +%Y-%m-%d_%H:%M)
|
||||
|
||||
all: snapshot
|
||||
all: pre-requis ctd1
|
||||
|
||||
snapshot: main.tex
|
||||
@latexmk -pdf main.tex
|
||||
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
|
||||
touch ${filename}_tmp.pdf; \
|
||||
rm ${filename}*.pdf; \
|
||||
cp build/main.pdf ${filename}_${timestamp}.pdf; \
|
||||
pre-requis: pre-requis.tex
|
||||
@latexmk -pdf pre-requis.tex
|
||||
@if ! cmp --silent build/pre-requis.pdf pre-requis_*.pdf; then \
|
||||
touch pre-requis_tmp.pdf; \
|
||||
rm pre-requis*.pdf; \
|
||||
cp build/pre-requis.pdf pre-requis_${timestamp}.pdf; \
|
||||
echo "Updated"; \
|
||||
fi
|
||||
|
||||
ctd1: ctd1.tex
|
||||
@latexmk -pdf ctd1.tex
|
||||
@if ! cmp --silent build/ctd1.pdf ctd1_*.pdf; then \
|
||||
touch ctd1_tmp.pdf; \
|
||||
rm ctd1*.pdf; \
|
||||
cp build/ctd1.pdf ctd1_${timestamp}.pdf; \
|
||||
echo "Updated"; \
|
||||
fi
|
||||
|
||||
|
|
20
logique-programmable/exercices/ctd1.tex
Normal file
20
logique-programmable/exercices/ctd1.tex
Normal file
|
@ -0,0 +1,20 @@
|
|||
\documentclass[a4paper,french,12pt]{article}
|
||||
|
||||
\title{Logique Programmable --- CTD1}
|
||||
\author{}
|
||||
\date{Dernière compilation~: \today{} à \currenttime}
|
||||
|
||||
\usepackage{../../cours}
|
||||
\usepackage{enumitem}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\begin{enumerate}
|
||||
|
||||
\item Citer les niveaux d'abstraction de conception d'un circuit électronique, du moins élevé au plus élevé.
|
||||
|
||||
\end{enumerate}
|
||||
|
||||
\end{document}
|
|
@ -1,6 +1,6 @@
|
|||
\documentclass[a4paper,french,12pt]{article}
|
||||
|
||||
\title{Logique Programmable --- Exercices}
|
||||
\title{Logique Programmable --- Prérequis --- Exercices}
|
||||
\author{}
|
||||
\date{Dernière compilation~: \today{} à \currenttime}
|
||||
|
Loading…
Reference in a new issue