Debian Codegraph @

texmf-dist/doc/latex/tangramtikz/TangramTikz-doc-fr.tex

raw
1 % !TeX TXS-program:compile = txs:///arara
2 % arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode}
3 % arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)')
4
5 \documentclass{article}
6 \usepackage[french]{babel}
7 \usepackage[utf8]{inputenc}
8 \usepackage[T1]{fontenc}
9 \usepackage{TangramTikz}
10 %\usepackage[upright]{fourier}
11 %\usepackage[scaled=0.875]{helvet}
12 %\renewcommand\ttdefault{lmtt}
13 %\usepackage{cabin}
14 \usepackage{amsmath,amssymb}
15 \usepackage{fontawesome5}
16 \usepackage{enumitem}
17 \usepackage{tabularray}
18 \usepackage{multicol}
19 \usepackage{fancyvrb}
20 \usepackage{fancyhdr}
21 \fancyhf{}
22 \renewcommand{\headrulewidth}{0pt}
23 \lfoot{\sffamily\small [TangramTikz]}
24 \cfoot{\sffamily\small - \thepage{} -}
25 \rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}}
26
27 %\usepackage{hvlogos}
28 \usepackage{hologo}
29 \providecommand\tikzlogo{Ti\textit{k}Z}
30 \providecommand\TeXLive{\TeX{}Live\xspace}
31 \providecommand\PSTricks{\textsf{PSTricks}\xspace}
32 \let\pstricks\PSTricks
33 \let\TikZ\tikzlogo
34 \newcommand\TableauDocumentation{%
35 \begin{tblr}{width=\linewidth,colspec={X[c]X[c]X[c]X[c]X[c]X[c]},cells={font=\sffamily}}
36 {\huge \LaTeX} & & & & &\\
37 & {\huge \hologo{pdfLaTeX}} & & & & \\
38 & & {\huge \hologo{LuaLaTeX}} & & & \\
39 & & & {\huge \TikZ} & & \\
40 & & & & {\huge \TeXLive} & \\
41 & & & & & {\huge \hologo{MiKTeX}} \\
42 \end{tblr}
43 }
44
45 \usepackage{hyperref}
46 \urlstyle{same}
47 \hypersetup{pdfborder=0 0 0}
48 \usepackage[margin=1.5cm]{geometry}
49 \setlength{\parindent}{0pt}
50 \definecolor{LightGray}{gray}{0.9}
51
52 \def\TPversion{0.2.2}
53 \def\TPdate{5 mai 2025}
54
55 \usepackage[most]{tcolorbox}
56 \usepackage{minted2}
57 \tcbuselibrary{minted}
58 \NewTCBListing{PresentationCode}{ O{blue} m }{%
59 sharp corners=downhill,enhanced,arc=12pt,skin=bicolor,%
60 colback=#1!1!white,colframe=#1!75!black,colbacklower=white,%
61 attach boxed title to top right={yshift=-\tcboxedtitleheight},title=Code \LaTeX,%
62 boxed title style={%
63 colframe=#1!75!black,colback=#1!15!white,%
64 ,sharp corners=downhill,arc=12pt,%
65 },%
66 fonttitle=\color{#1!90!black}\itshape\ttfamily\footnotesize,%
67 listing engine=minted,minted style=colorful,
68 minted language=tex,minted options={tabsize=4,fontsize=\footnotesize,autogobble},
69 #2
70 }
71
72 \newcommand\Cle[1]{{\bfseries\sffamily\textlangle #1\textrangle}}
73
74 \begin{document}
75
76 \pagestyle{fancy}
77
78 \thispagestyle{empty}
79
80 \vspace{2cm}
81
82 \begin{center}
83 \begin{minipage}{0.75\linewidth}
84 \begin{tcolorbox}[colframe=yellow,colback=yellow!15]
85 \begin{center}
86 \begin{tabular}{c}
87 {\Huge \texttt{TangramTikz [fr]}}\\
88 \\
89 {\LARGE Des tangrams, en Ti\textit{k}Z}, \\
90 \\
91 {\LARGE avec solution et/ou couleur.} \\
92 \end{tabular}
93
94 \medskip
95
96 {\small \texttt{Version \TPversion{} -- \TPdate}}
97 \end{center}
98 \end{tcolorbox}
99 \end{minipage}
100 \end{center}
101
102 \vspace{0.5cm}
103
104 \begin{center}
105 \begin{tabular}{c}
106 \texttt{Cédric Pierquet}\\
107 {\ttfamily c pierquet -- at -- outlook . fr}\\
108 \texttt{\url{https://forge.apps.education.fr/pierquetcedric/packages-latex}}
109 \end{tabular}
110 \end{center}
111
112 \vspace{0.5cm}
113
114 {$\blacktriangleright$~~Des commandes pour afficher des Tangrams prédéfinis.}
115
116 \smallskip
117
118 {$\blacktriangleright$~~Possibilité de créer un Tangram, avec le placement des pièces.}
119
120 \smallskip
121
122 {$\blacktriangleright$~~Idée(s) venant de \url{https://tex.stackexchange.com/questions/407449/typesetting-tangram-figures-in-latex}}
123
124 \vspace{0.5cm}
125
126 \begin{center}
127 \tikz {\pic[TangPuzz={blue}] at (0,0) {TangBigTri} ;}~~
128 \tikz {\pic[TangPuzz={orange}] at (0,0) {TangBigTri} ;}~~
129 \tikz {\pic[TangPuzz={purple}] at (0,0) {TangMedTri} ;}~~
130 \tikz {\pic[TangPuzz={yellow}] at (0,0) {TangSqua} ;}~~
131 \tikz {\pic[TangPuzz={green}] at (0,0) {TangSmalTri} ;}~~
132 \tikz {\pic[TangPuzz={cyan}] at (0,0) {TangSmalTri} ;}~~
133 \tikz {\pic[TangPuzz={magenta}] at (0,0) {TangPara} ;}~~
134
135 \vspace*{1cm}
136
137 \TangramTikz[Couleur=orange]<scale=1>{Maison}
138 \TangramTikz[Correction]<scale=1>{Maison}
139 \TangramTikz[CorrectionCouleur]<scale=1>{Maison}
140 \TangramTikz[ListeCouleurs={blue,red,black,orange,purple},CorrectionCouleur]<scale=1>{Maison}
141 \end{center}
142
143 \vspace{0.5cm}
144
145 \hfill{}\textit{\small Merci à Eric Martin, enseignant-chercheur à Sydney, pour sa relecture attentive de la version anglaise !}
146
147 \smallskip
148
149 \hfill{}\textit{\small Merci à Sarah Hadley, resp. de laboratoire \&\ assistante de recherche à l'Université de Saskatchewan, pour ses retours et ses idées.}
150
151 %\hfill{}\textit{Merci aux membres du groupe \faFacebook{} du \og Coin \LaTeX{} \fg{} pour leur aide et leurs idées !}
152
153 %\hfill{}\textit{Merci à Denis Bitouzé et à Patrick Bideault pour leurs retours et idées !}
154
155 \vfill
156
157 \hrule
158
159 \medskip
160
161 \TableauDocumentation
162
163 \medskip
164
165 \hrule
166
167 \medskip
168
169 \newpage
170
171 \phantomsection
172 \hypertarget{matoc}{}
173
174 \tableofcontents
175
176 \newpage
177
178 \part{Introduction}
179
180 \section{Le package TangramTikz}
181
182 \subsection{Source}
183
184 Certaines idées viennent de \url{https://tex.stackexchange.com/questions/407449/typesetting-tangram-figures-in-latex}, avec une proposition de Andrew Stacey.
185
186 \smallskip
187
188 Le package a ensuite été \textit{construit} et \textit{modestement enrichi} autour de styles et méthodes proposées par Andrew Stacey.
189
190 \subsection{Chargement du package, packages utilisés}
191
192 Le package \textsf{TangramTikz} se charge dans le préambule via la commande :
193
194 \begin{PresentationCode}{listing only}
195 \usepackage{TangramTikz}
196 \end{PresentationCode}
197
198 Il est compatible avec les compilations usuelles en \textsf{latex}, \textsf{pdflatex}, \textsf{lualatex} ou \textsf{xelatex}.
199
200 \medskip
201
202 Il charge les packages et librairies suivantes :
203
204 \begin{itemize}
205 \item \texttt{tikz} avec les librairies \Cle{calc} et \Cle{shapes.geometric} ;
206 \item \texttt{xstring}, \texttt{xparse}, \texttt{simplekv} et \texttt{listofitems}.
207 \end{itemize}
208
209 \subsection{\og Philosophie \fg{} du package}
210
211 L'idée est de proposer, grâce à \TikZ, des \textsf{commandes} pour présenter un jeu de Tangram :
212
213 \begin{itemize}
214 \item sous forme du puzzle avec pièces \textit{pleines} ;
215 \item sous forme du puzzle avec pièces \textit{avec une petite bordure} ;
216 \item sous forme du puzzle coloré avec pièces \textit{avec une petite bordure}.
217 \end{itemize}
218
219 \begin{PresentationCode}{listing only}
220 %commande autonome pour afficher un Tangram
221 \TangramTikz[clés]<options tikz>{nom_du_tangram}
222 \end{PresentationCode}
223
224 Il est également proposé un \textsf{environnement} ainsi qu'une \textsf{commande} pour construire soi-même le puzzle, en plaçant \textit{manuellement} les pièces.
225
226 \begin{PresentationCode}{listing only}
227 %environnement, avec clés en français, et placement des pièces
228 \begin{EnvTangramTikz}[clés]<options tikz>
229 %placement des pièces
230 \PieceTangram[clés]<options pic>(decalH,decalV){TangGrandTri}
231 \PieceTangram[clés]<options pic>(decalH,decalV){TangGrandTri}
232 \PieceTangram[clés]<options pic>(decalH,decalV){TangMoyTri}
233 \PieceTangram[clés]<options pic>(decalH,decalV){TangPetTri}
234 \PieceTangram[clés]<options pic>(decalH,decalV){TangPetTri}
235 \PieceTangram[clés]<options pic>(decalH,decalV){TangCar}
236 \PieceTangram[clés]<options pic>(decalH,decalV){TangPara}
237 %\filldraw[black] (0,0) circle[radius=4pt] ; %repère pour les pièces
238 \end{EnvTangramTikz}
239 \end{PresentationCode}
240
241 \pagebreak
242
243 \part{Le fonctionnement}
244
245 \section{Fonctionnement \og manuel \fg}
246
247 \subsection{Les pièces du Tangram}
248
249 Un Tangram est composé de 7 pièces (visibles sur la page de garde):
250
251 \begin{itemize}
252 \item 2 grands triangles isocèles rectangles ;
253 \item 1 triangle isocèle rectangle ;
254 \item 2 petits triangles isocèles rectangles ;
255 \item 1 carré ;
256 \item 1 parallélogramme.
257 \end{itemize}
258
259 Chacune des pièces qui compose le Tangram est définie en langage \tikzlogo, sous forme d'un \texttt{pic} autonome.
260
261 \medskip
262
263 Le schéma suivant propose de visualiser les (5) pièces différentes :
264
265 \begin{itemize}
266 \item avec leur \textcolor{purple}{\texttt{nom}} en code \tikzlogo{} ;
267 \item avec leur \textit{orientation} initiale ;
268 \item leur \textcolor{red}{\textit{origine}} initiale ;
269 \item leurs \textcolor{blue}{\textit{dimensions}} utiles (qui sont données en \textit{unité}).
270 \end{itemize}
271
272 \begin{center}
273 \begin{tikzpicture}[scale=1.25]
274 \draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
275 \PieceTangram{TangGrandTri} \filldraw[red] (0,0) circle[radius=2pt] ;
276 \draw[thick,<->,>=latex] (0,-0.25)--(2,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {2} ;
277 \draw[thick,<->,>=latex] (2.25,0)--++(0,2) node[blue,scale=1.5,midway,right,font=\large\sffamily] {2} ;
278 \draw[thick,<->,>=latex] (-0.15,0.15)--++(45:{sqrt(8)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{2\sqrt{2}}$} ;
279 \draw (1,3) node[scale=1.5,purple,below=1pt,font=\Large\ttfamily] {TangGrandTri} ;
280 \end{tikzpicture}
281 ~
282 \begin{tikzpicture}[scale=1.25]
283 \draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
284 \PieceTangram{TangMoyTri} \filldraw[red] (0,0) circle[radius=2pt] ;
285 \draw[thick,<->,>=latex] (0,-0.25)--(2,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {2} ;
286 \draw[thick,<->,>=latex] (-0.15,0.15)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
287 \draw[thick,<->,>=latex] (2.15,0.15)--++(135:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
288 \draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangMoyTri} ;
289 \end{tikzpicture}
290 ~
291 \begin{tikzpicture}[scale=1.25]
292 \draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
293 \PieceTangram{TangPetTri} \filldraw[red] (0,0) circle[radius=2pt] ;
294 \draw[thick,<->,>=latex] (0,-0.25)--(1,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {1} ;
295 \draw[thick,<->,>=latex] (-0.15,0.15)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
296 \draw[thick,<->,>=latex] (1.25,0)--++(0,1) node[blue,scale=1.5,midway,right,font=\large\sffamily] {1} ;
297 \draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangPetTri} ;
298 \end{tikzpicture}
299
300 \smallskip
301
302 \begin{tikzpicture}[scale=1.25]
303 \draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
304 \PieceTangram{TangCar} \filldraw[red] (0,0) circle[radius=2pt] ;
305 \draw[thick,<->,>=latex] (0,-0.25)--(1,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {1} ;
306 \draw[thick,<->,>=latex] (1.25,0)--++(0,1) node[blue,scale=1.5,midway,right,font=\large\sffamily] {1} ;
307 \draw[thick,dashed] (0,0)--(-0.65,0.65) (1,1)--(0.35,1.65) ;
308 \draw[thick,<->,>=latex] (-0.65,0.65)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
309 \draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangCar} ;
310 \end{tikzpicture}
311 ~
312 \begin{tikzpicture}[scale=1.25]
313 \draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
314 \PieceTangram{TangPara} \filldraw[red] (0,0) circle[radius=2pt] ;
315 \draw[thick,<->,>=latex] (0,-0.25)--(1,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {1} ;
316 \draw[thick,<->,>=latex] (-0.15,0.15)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
317 \draw[thick,<->,>=latex] (2.15,0)--++(0,1) node[blue,scale=1.5,midway,right,font=\large\sffamily] {1} ;
318 \draw[thick,<->,>=latex] (2.15,1.15)--++(135:{0.5*sqrt(2)}) node[blue,midway,sloped,above,font=\large\sffamily] {$\mathsf{0{,}5\sqrt{2}}$} ;
319 \draw[thick,dashed] (2,1)--++(0.15,0.15) (1,1)--++(45:{0.5*sqrt(2)+0.2}) ;
320 \draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangPara} ;
321 \end{tikzpicture}
322 \end{center}
323
324 Chacune des \textit{pièces} peut donc être :
325
326 \begin{itemize}
327 \item pivotée, grâce à l'option \tikzlogo{} \texttt{rotate=...} ;
328 \item retournée horizontalement ou verticalement, grâce aux options \tikzlogo{} \texttt{xscale=-1} et \texttt{yscale=-1} ;
329 \item déplacée, en la plaçant au point de coordonnées \texttt{(x,y)}.
330 \end{itemize}
331
332 Chaque pièce peut posséder un style prédéfini :
333
334 \begin{itemize}
335 \item \texttt{TangPuzz} : pièce de puzzle, \textit{pleine}, pour laquelle on peut choisir une couleur (\Cle{black} par défaut) ;
336 \item \texttt{TangSol} : pièce de puzzle, \textit{avec bordure blanche}, pour laquelle on peut choisir une couleur (\Cle{black} par défaut).
337 \end{itemize}
338
339 \pagebreak
340
341 \subsection{Placement des pièces}
342
343 Une première manière de placer les \textit{pièces} est donc d'utiliser une syntaxe des \texttt{pic} en \tikzlogo{} :
344
345 \begin{PresentationCode}{listing only}
346 %environnement ou commande tikz
347 \pic[style,rotate=...,xscale=...,yscale=...] at (x,y) {nom_piece} ;
348 \end{PresentationCode}
349
350 Le package \textsf{TangramTikz} propose également une commande spécifique pour placer les pièces :
351
352 \begin{PresentationCode}{listing only}
353 %environnement ou commande tikz
354 \PieceTangram[style={couleur}]<xscale=...,yscale=...,rotate=...>(x,y){nom_piece}
355 \end{PresentationCode}
356
357 Un Tangram peut donc être \textit{constuit} manuellement, grâce aux 7 pièces du puzzle, en :
358
359 \begin{itemize}
360 \item \textit{plaçant} les pièces à l'origine ;
361 \item en les \textit{pivotant}/\textit{retournant} pour l'orienter correctement ;
362 \item en les \textit{translatant} pour les placer correctement.
363 \end{itemize}
364
365 À noter que les options de positionnement \TikZ\ (\texttt{xscale/yscale/rotate}) sont lues de \textbf{droite à gauche}, et peuvent être mises dans l'ordre que l'on veut.
366
367 \begin{PresentationCode}{}
368 %version corrigée et coloriée (taille par défaut)
369 \begin{EnvTangramTikz}
370 \PieceTangram[TangSol={green}]({0},{0}){TangCar}
371 \PieceTangram[TangSol={red}]({-1.5},{1}){TangGrandTri}
372 \PieceTangram[TangSol={red}]<rotate=-90>({0.5},{3}){TangGrandTri}
373 \PieceTangram[TangSol={purple}]<xscale=-1,rotate=0>({2.5},{2}){TangPara}
374 \PieceTangram[TangSol={blue}]({-1.5},{2}){TangPetTri}
375 \PieceTangram[TangSol={blue}]<xscale=-1,rotate=90>({-0.5},{2}){TangPetTri}
376 \PieceTangram[TangSol={orange}]({-0.5},{3}){TangMoyTri}
377 \filldraw[black] (0,0) circle[radius=2pt] ; %repère pour les pièces
378 \end{EnvTangramTikz}
379 %version "énoncé" (taille par défaut)
380 \begin{EnvTangramTikz}
381 \PieceTangram[TangPuzz]({0},{0}){TangCar}
382 \PieceTangram[TangPuzz]({-1.5},{1}){TangGrandTri}
383 \PieceTangram[TangPuzz]<rotate=-90>({0.5},{3}){TangGrandTri}
384 \PieceTangram[TangPuzz]<xscale=-1,rotate=0>({2.5},{2}){TangPara}
385 \PieceTangram[TangPuzz]({-1.5},{2}){TangPetTri}
386 \PieceTangram[TangPuzz]<xscale=-1,rotate=90>({-0.5},{2}){TangPetTri}
387 \PieceTangram[TangPuzz]({-0.5},{3}){TangMoyTri}
388 \end{EnvTangramTikz}
389 \end{PresentationCode}
390
391 \pagebreak
392
393 \section{Fonctionnement \og automatique \fg}
394
395 \subsection{Commande}
396
397 Un certain nombre de Tangrams sont prédéfinis dans le package \textsf{TangramTikz}, qui peuvent être \textit{appelés} grâce à une commande autonome.
398
399 \begin{PresentationCode}{listing only}
400 %commande autonome pour afficher un Tangram
401 \TangramTikz[clés]<options tikz>{nom_du_tangram}
402 \end{PresentationCode}
403
404 \begin{PresentationCode}{}
405 %commande autonome pour afficher le Tangram du Chat/Bateau/Kangourou, avec options par défaut
406 \TangramTikz{Chat}~~\TangramTikz{Bateau}~~\TangramTikz{Kangourou}
407 \end{PresentationCode}
408
409 \subsection{Clés, options et arguments}
410
411 Le premier argument, \textit{optionnel} et entre \texttt{[...]}, correspond aux clés et options :
412
413 \begin{itemize}
414 \item le booléen \Cle{Puzzle} qui affiche les pièces (monochromes) de puzzle, sans bordure ; \hfill~défaut : \Cle{true}
415 \item le booléen \Cle{Correction} qui affiche les pièces (monochromes) du puzzle, avec bordure ; \hfill~défaut : \Cle{false}
416 \item le booléen \Cle{NoirBlanc} qui affiche les tracés des pièces avec bordure ; \hfill~défaut : \Cle{false}
417 \item \Cle{Couleur} qui paramètre la couleur globale du puzzle avec les booléens précédents ; \hfill~défaut : \Cle{black}
418 \item le booléen \Cle{CorrectionCouleur} qui affiche les pièces (colorées) du puzzle, avec bordure ; \hfill~défaut : \Cle{false}
419 \item \Cle{ListeCouleurs} qui est la couleur des pièces (\texttt{GT,MT,PT,CAR,PARA} ou \texttt{GT1,GT2,MT1,PT1,PT2,CAR,PARA}) ;
420
421 \hfill~défaut : \Cle{red,orange,blue,green,purple}
422 \item \Cle{ListePieces} pour spécifier la liste des pièces à afficher (dans le même \textit{ordre} que les couleurs \textit{complètes}) ;
423
424 \hfill~défaut : \Cle{1234567}
425 \item \Cle{Sep} qui est l'épaisseur de la bordure des pièces en mode \Cle{Correction} \hfill~défaut : \Cle{1pt}
426 \end{itemize}
427
428 Le deuxième argument, \textit{optionnel} et entre \texttt{<...>}, correspond aux options qui sont passés à l'environnement \tikzlogo{} qui sert de base à la commande, comme par exemple :
429
430 \begin{itemize}
431 \item un changement d'unité(s), un changement d'échelle ;
432 \item une rotation, un alignement vertical ;
433 \item etc
434 \end{itemize}
435
436 Le troisième argument, \textit{obligatoire} et entre \texttt{\{...\}} est quant à lui le nom du Tangram issu de la \textit{base de données} présente dans le package (liste ci-après).
437
438 \pagebreak
439
440 \subsection{Aide à la manière de 'missing tan task'}
441
442 Afin de travailler sur un fonctionnement \textit{missing tan task} (\href{https://www.researchgate.net/publication/371039854_Comparing_Mental_Effort_Difficulty_and_Confidence_Appraisals_in_Problem-Solving_A_Metacognitive_Perspective}{[lien]}), il est possible d'afficher un puzzle d'aide avec affichage du nom des pièces.
443
444 \begin{PresentationCode}{listing only}
445 %commande autonome pour afficher une aide type 'mtt'
446 \TangramTikzAide[clés]<options tikz>
447 \end{PresentationCode}
448
449 Deux clés spécifiques sont disponibles, en plus de celles détaillées précédemment :
450
451 \begin{itemize}
452 \item le booléen \Cle{Aide} pour afficher le nom des pièces ; \hfill~défaut : \Cle{true}
453 \item \Cle{Noms} pour donner le nom des pièces, dans l'ordre \texttt{GT1,GT2,MT1,PT1,PT2,CAR,PARA} ;
454
455 \hfill~défaut : \Cle{A1,A2,D,B1,B2,E,C}
456 \end{itemize}
457
458 \begin{PresentationCode}{}
459 \TangramTikzAide[Correction]
460 \end{PresentationCode}
461
462 \begin{PresentationCode}{}
463 \TangramTikzAide[Correction,Couleur=teal]<scale=2,transform shape>
464 \end{PresentationCode}
465
466 \begin{PresentationCode}{}
467 \TangramTikzAide[CorrectionCouleur,Aide=false]
468 \end{PresentationCode}
469
470 Le style des labels est donné (et peut-être redéfini) par le code suivant.
471
472 \begin{PresentationCode}{listing only}
473 \tikzset{tangramhelp/.style={text=white,inner sep=0pt,font=\sffamily\small\bfseries}}
474 \end{PresentationCode}
475
476 \pagebreak
477
478 \subsection{Liste des Tangrams inclus dans le package}
479 %
480 \texttt{\begin{multicols}{5}
481 \begin{itemize}
482 \item Carre
483 \item Pingouin
484 \item Bateau
485 \item Maison
486 \item Sapin
487 \item Chat
488 \item Cygne
489 \item Pyramide
490 \item Canard
491 \item Fusee
492 \item Bougie
493 \item Chemise
494 \item Poisson
495 \item Voilier
496 \item Kangourou
497 \item Chien
498 \item Lapin
499 \item Avion
500 \item Coq
501 \item Coureur
502 \item Danseur
503 \item Chameau
504 \item Flamant
505 \item Coeur
506 \item Girafe
507 \item Cheval
508 \item Chevre
509 \item Lion
510 \item Usine
511 \item Ange
512 \item Tour
513 \item Ovni
514 \item Poule
515 \item Tortue
516 \item Crabe
517 \item Escargot
518 \item Oie
519 \item Vache
520 \item Cadeau
521 \item Homme
522 \item Cavalier
523 \item Fleche
524 \item Triangle
525 \end{itemize}
526 \end{multicols}}
527
528 \medskip
529
530 \begin{PresentationCode}{}
531 \TangramTikz{Fusee}~~
532 \TangramTikz[Couleur=red]{Fusee}~~
533 \TangramTikz[Correction]{Fusee}~~
534 \TangramTikz[Correction,Couleur=lightgray]{Fusee}~~
535 \TangramTikz[CorrectionCouleur,ListeCouleurs={orange,blue,yellow,green,pink},Sep=1mm]{Fusee}
536
537 \TangramTikz<scale=1.5,rotate=30>{Fusee}~~
538 \TangramTikz<scale=0.75,rotate=-90>{Fusee}~~
539 \TangramTikz[NoirBlanc]<scale=0.5>{Fusee}
540 \TangramTikz[ListePieces=134567,CorrectionCouleur,ListeCouleurs={cyan,green,red,pink,purple,orange,yellow},Sep=0pt]{Fusee}
541 \end{PresentationCode}
542
543 \pagebreak
544
545 \part{Galerie de Tangrams disponibles}
546
547 \begin{PresentationCode}{}
548 \TangramTikz{Carre}
549 \TangramTikz[NoirBlanc]{Carre}
550 \TangramTikz[Correction]{Carre}
551 \TangramTikz[CorrectionCouleur]{Carre}
552 \end{PresentationCode}
553
554 \begin{PresentationCode}{}
555 \TangramTikz{Pingouin}
556 \TangramTikz[Correction]{Pingouin}
557 \TangramTikz[CorrectionCouleur]{Pingouin}
558 \end{PresentationCode}
559
560 \begin{PresentationCode}{}
561 \TangramTikz{Bateau}
562 \TangramTikz[Correction]{Bateau}
563 \TangramTikz[CorrectionCouleur]{Bateau}
564 \end{PresentationCode}
565
566 \begin{PresentationCode}{}
567 \TangramTikz{Maison}
568 \TangramTikz[Correction]{Maison}
569 \TangramTikz[CorrectionCouleur]{Maison}
570 \end{PresentationCode}
571
572 \begin{PresentationCode}{}
573 \TangramTikz{Sapin}
574 \TangramTikz[Correction]{Sapin}
575 \TangramTikz[CorrectionCouleur]{Sapin}
576 \end{PresentationCode}
577
578 \begin{PresentationCode}{}
579 \TangramTikz{Chat}
580 \TangramTikz[Correction]{Chat}
581 \TangramTikz[CorrectionCouleur]{Chat}
582 \end{PresentationCode}
583
584 \begin{PresentationCode}{}
585 \TangramTikz{Cygne}
586 \TangramTikz[Correction]{Cygne}
587 \TangramTikz[CorrectionCouleur]{Cygne}
588 \end{PresentationCode}
589
590 \begin{PresentationCode}{}
591 \TangramTikz{Pyramide}
592 \TangramTikz[Correction]{Pyramide}
593 \TangramTikz[CorrectionCouleur]{Pyramide}
594 \end{PresentationCode}
595
596 \begin{PresentationCode}{}
597 \TangramTikz{Canard}
598 \TangramTikz[Correction]{Canard}
599 \TangramTikz[CorrectionCouleur]{Canard}
600 \end{PresentationCode}
601
602 \begin{PresentationCode}{}
603 \TangramTikz{Fusee}
604 \TangramTikz[Correction]{Fusee}
605 \TangramTikz[CorrectionCouleur]{Fusee}
606 \end{PresentationCode}
607
608 \begin{PresentationCode}{}
609 \TangramTikz{Bougie}
610 \TangramTikz[Correction]{Bougie}
611 \TangramTikz[CorrectionCouleur]{Bougie}
612 \end{PresentationCode}
613
614 \begin{PresentationCode}{}
615 \TangramTikz{Chemise}
616 \TangramTikz[Correction]{Chemise}
617 \TangramTikz[CorrectionCouleur]{Chemise}
618 \end{PresentationCode}
619
620 \begin{PresentationCode}{}
621 \TangramTikz{Poisson}
622 \TangramTikz[Correction]{Poisson}
623 \TangramTikz[CorrectionCouleur]{Poisson}
624 \end{PresentationCode}
625
626 \begin{PresentationCode}{}
627 \TangramTikz{Voilier}
628 \TangramTikz[Correction]{Voilier}
629 \TangramTikz[CorrectionCouleur]{Voilier}
630 \end{PresentationCode}
631
632 \begin{PresentationCode}{}
633 \TangramTikz{Kangourou}
634 \TangramTikz[Correction]{Kangourou}
635 \TangramTikz[CorrectionCouleur]{Kangourou}
636 \end{PresentationCode}
637
638 \begin{PresentationCode}{}
639 \TangramTikz{Chien}
640 \TangramTikz[Correction]{Chien}
641 \TangramTikz[CorrectionCouleur]{Chien}
642 \end{PresentationCode}
643
644 \begin{PresentationCode}{}
645 \TangramTikz{Lapin}
646 \TangramTikz[Correction]{Lapin}
647 \TangramTikz[CorrectionCouleur]{Lapin}
648 \end{PresentationCode}
649
650 \begin{PresentationCode}{}
651 \TangramTikz<scale=0.75>{Avion}
652 \TangramTikz[Correction]<scale=0.75>{Avion}
653 \TangramTikz[CorrectionCouleur]<scale=0.75>{Avion}
654 \end{PresentationCode}
655
656 \begin{PresentationCode}{}
657 \TangramTikz{Coq}
658 \TangramTikz[Correction]{Coq}
659 \TangramTikz[CorrectionCouleur]{Coq}
660 \end{PresentationCode}
661
662 \begin{PresentationCode}{}
663 \TangramTikz{Coureur}
664 \TangramTikz[Correction]{Coureur}
665 \TangramTikz[CorrectionCouleur]{Coureur}
666 \end{PresentationCode}
667
668 \begin{PresentationCode}{}
669 \TangramTikz{Danseur}
670 \TangramTikz[Correction]{Danseur}
671 \TangramTikz[CorrectionCouleur]{Danseur}
672 \end{PresentationCode}
673
674 \begin{PresentationCode}{}
675 \TangramTikz{Chameau}
676 \TangramTikz[Correction]{Chameau}
677 \TangramTikz[CorrectionCouleur]{Chameau}
678 \end{PresentationCode}
679
680 \begin{PresentationCode}{}
681 \TangramTikz{Flamant}
682 \TangramTikz[Correction]{Flamant}
683 \TangramTikz[CorrectionCouleur]{Flamant}
684 \end{PresentationCode}
685
686 \begin{PresentationCode}{}
687 \TangramTikz{Coeur}
688 \TangramTikz[Correction]{Coeur}
689 \TangramTikz[CorrectionCouleur]{Coeur}
690 \end{PresentationCode}
691
692 \begin{PresentationCode}{}
693 \TangramTikz{Girafe}
694 \TangramTikz[Correction]{Girafe}
695 \TangramTikz[CorrectionCouleur]{Girafe}
696 \end{PresentationCode}
697
698 \begin{PresentationCode}{}
699 \TangramTikz{Cheval}
700 \TangramTikz[Correction]{Cheval}
701 \TangramTikz[CorrectionCouleur]{Cheval}
702 \end{PresentationCode}
703
704 \begin{PresentationCode}{}
705 \TangramTikz{Chevre}
706 \TangramTikz[Correction]{Chevre}
707 \TangramTikz[CorrectionCouleur]{Chevre}
708 \end{PresentationCode}
709
710 \begin{PresentationCode}{}
711 \TangramTikz{Lion}
712 \TangramTikz[Correction]{Lion}
713 \TangramTikz[CorrectionCouleur]{Lion}
714 \end{PresentationCode}
715
716 \begin{PresentationCode}{}
717 \TangramTikz{Usine}
718 \TangramTikz[Correction]{Usine}
719 \TangramTikz[CorrectionCouleur]{Usine}
720 \end{PresentationCode}
721
722 \begin{PresentationCode}{}
723 \TangramTikz{Ange}
724 \TangramTikz[Correction]{Ange}
725 \TangramTikz[CorrectionCouleur]{Ange}
726 \end{PresentationCode}
727
728 \begin{PresentationCode}{}
729 \TangramTikz{Tour}
730 \TangramTikz[Correction]{Tour}
731 \TangramTikz[CorrectionCouleur]{Tour}
732 \end{PresentationCode}
733
734 \begin{PresentationCode}{}
735 \TangramTikz<scale=0.75>{Ovni}
736 \TangramTikz[Correction]<scale=0.75>{Ovni}
737 \TangramTikz[CorrectionCouleur]<scale=0.75>{Ovni}
738 \end{PresentationCode}
739
740 \begin{PresentationCode}{}
741 \TangramTikz{Poule}
742 \TangramTikz[Correction]{Poule}
743 \TangramTikz[CorrectionCouleur]{Poule}
744 \end{PresentationCode}
745
746 \begin{PresentationCode}{}
747 \TangramTikz{Tortue}
748 \TangramTikz[Correction]{Tortue}
749 \TangramTikz[CorrectionCouleur]{Tortue}
750 \end{PresentationCode}
751
752 \begin{PresentationCode}{}
753 \TangramTikz{Crabe}
754 \TangramTikz[Correction]{Crabe}
755 \TangramTikz[CorrectionCouleur]{Crabe}
756 \end{PresentationCode}
757
758 \begin{PresentationCode}{}
759 \TangramTikz{Escargot}
760 \TangramTikz[Correction]{Escargot}
761 \TangramTikz[CorrectionCouleur]{Escargot}
762 \end{PresentationCode}
763
764 \begin{PresentationCode}{}
765 \TangramTikz<scale=0.75>{Oie}
766 \TangramTikz[Correction]<scale=0.75>{Oie}
767 \TangramTikz[CorrectionCouleur]<scale=0.75>{Oie}
768 \end{PresentationCode}
769
770 \begin{PresentationCode}{}
771 \TangramTikz<scale=0.75>{Vache}
772 \TangramTikz[Correction]<scale=0.75>{Vache}
773 \TangramTikz[CorrectionCouleur]<scale=0.75>{Vache}
774 \end{PresentationCode}
775
776 \begin{PresentationCode}{}
777 \TangramTikz<scale=0.75>{Cadeau}
778 \TangramTikz[Correction]<scale=0.75>{Cadeau}
779 \TangramTikz[CorrectionCouleur]<scale=0.75>{Cadeau}
780 \end{PresentationCode}
781
782 \begin{PresentationCode}{}
783 \TangramTikz<scale=0.75>{Homme}
784 \TangramTikz[Correction]<scale=0.75>{Homme}
785 \TangramTikz[CorrectionCouleur]<scale=0.75>{Homme}
786 \end{PresentationCode}
787
788 \begin{PresentationCode}{}
789 \TangramTikz<scale=0.75>{Cavalier}
790 \TangramTikz[Correction]<scale=0.75>{Cavalier}
791 \TangramTikz[CorrectionCouleur]<scale=0.75>{Cavalier}
792 \end{PresentationCode}
793
794 \begin{PresentationCode}{}
795 \TangramTikz<scale=0.75>{Fleche}
796 \TangramTikz[Correction]<scale=0.75>{Fleche}
797 \TangramTikz[CorrectionCouleur]<scale=0.75>{Fleche}
798 \end{PresentationCode}
799
800 \begin{PresentationCode}{}
801 \TangramTikz<scale=0.75>{Triangle}
802 \TangramTikz[Correction]<scale=0.75>{Triangle}
803 \TangramTikz[CorrectionCouleur]<scale=0.75>{Triangle}
804 \end{PresentationCode}
805
806 \newpage
807
808 \part{Historique}
809
810 \verb|v0.2.2|~:~Bugfix et nouveaux modèles
811
812 \verb|v0.2.0|~:~Clé \textsf{[ListePieces]} + nouveaux modèles + améliorations pour les couleurs
813
814 \verb|v0.1.8|~:~Clé \textsf{[NoirBlanc]} pour un affichage non coloré + modèles \textsf{Vache} et \textsf{Cadeau}
815
816 \verb|v0.1.7|~:~Améliorations pour la version anglaise
817
818 \verb|v0.1.6|~:~Nouveaux modèles
819
820 \verb|v0.1.5|~:~Nouveaux modèles
821
822 \verb|v0.1.4|~:~Nouveaux modèles
823
824 \verb|v0.1.3|~:~Nouveaux modèles
825
826 \verb|v0.1.2|~:~Nouveaux modèles
827
828 \verb|v0.1.1|~:~Nouveaux modèles
829
830 \verb|v0.1.0|~:~Version initiale
831
832 \end{document}