Télécharger: instrumentsDessin.zip ( version 0.2 du 03/01/11)
Le paquet contient 4 fichiers:
- instrumentsDessin.mac (macros)
- instrumentsDessin.mod (modèle à charger)
- instrumentsDessin.pdf (aide)
- instrumentsDessin.txt (à lire)
Les questions/propositions concernant ce modèle sont à poster dans ce forum.
Un exemple:
- Code: Tout sélectionner
\begin{texgraph}[name=essai, preload="instrumentsDessin.mod"]
view(-5,5,-5,5), Marges(0,0,0,0), size(9), x:=-4.5+4.5*i, DotStyle:=cross,
Point(x), Color:=blue, Rcercle(x, 2.5), Color:=black,
compas(x,[long:=2.5, mine:=blue, dir:=2+0.25*i, sens:=-1]),
equerre(-3-4.5*i, [dir:=exp(i*pi/10), long:=4, fond:=red]),
rapporteur(2+2.5*i, [dir:=exp(3*i*pi/4), rayon:=2.25, fond:=royalblue]),
x:=1.5-3.5*i, y:=x+(1+i)*0.5,
regle(x, [long:=3, dir:=1+i, fond:=yellow]),
Color:=red, Width:=8, Ligne([x,y],0),
crayon(y, [angle:=-20, mine:=red, long:=2.5])
\end{texgraph}