summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tangramtikz/doc/TangramTikz-doc-en.tex
blob: 72a56fa35d1ae6231696fcf46cc7ebd89d2e5de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
% !TeX TXS-program:compile = txs:///arara
% arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode}
% arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)')

\documentclass{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{TangramTikz}
%\usepackage[upright]{fourier}
%\usepackage[scaled=0.875]{helvet}
%\renewcommand\ttdefault{lmtt}
%\usepackage{cabin}
\usepackage{amsmath,amssymb}
\usepackage{fontawesome5}
\usepackage{enumitem}
\usepackage{tabularray}
\usepackage{multicol}
\usepackage{fancyvrb}
\usepackage{fancyhdr}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\lfoot{\sffamily\small [TangramTikz]}
\cfoot{\sffamily\small - \thepage{} -}
\rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}}

%\usepackage{hvlogos}
\usepackage{hologo}
\usepackage{xspace}
\providecommand\tikzlogo{Ti\textit{k}Z}
\providecommand\TeXLive{\TeX{}Live\xspace}
\providecommand\PSTricks{\textsf{PSTricks}\xspace}
\let\pstricks\PSTricks
\let\TikZ\tikzlogo
\newcommand\TableauDocumentation{%
	\begin{tblr}{width=\linewidth,colspec={X[c]X[c]X[c]X[c]X[c]X[c]},cells={font=\sffamily}}
		{\huge \LaTeX} & & & & &\\
		& {\huge \hologo{pdfLaTeX}} & & & & \\
		& & {\huge \hologo{LuaLaTeX}} & & & \\
		& & & {\huge \TikZ} & & \\
		& & & & {\huge \TeXLive} & \\
		& & & & & {\huge \hologo{MiKTeX}} \\
	\end{tblr}
}

\usepackage{hyperref}
\urlstyle{same}
\hypersetup{pdfborder=0 0 0}
\usepackage[margin=1.5cm]{geometry}
\setlength{\parindent}{0pt}
\definecolor{LightGray}{gray}{0.9}

\def\TPversion{0.1.7}
\def\TPdate{25/01/2025}

\usepackage[most]{tcolorbox}
\usepackage{minted2}
\tcbuselibrary{minted}
\NewTCBListing{PresentationCode}{ O{blue} m }{%
	sharp corners=downhill,enhanced,arc=12pt,skin=bicolor,%
	colback=#1!1!white,colframe=#1!75!black,colbacklower=white,%
	attach boxed title to top right={yshift=-\tcboxedtitleheight},title=Code \LaTeX,%
	boxed title style={%
		colframe=#1!75!black,colback=#1!15!white,%
		,sharp corners=downhill,arc=12pt,%
	},%
	fonttitle=\color{#1!90!black}\itshape\ttfamily\footnotesize,%
	listing engine=minted,minted style=colorful,
	minted language=tex,minted options={tabsize=4,fontsize=\footnotesize,autogobble},
	#2
}

\newcommand\Cle[1]{{\bfseries\sffamily\textlangle #1\textrangle}}

\begin{document}

\pagestyle{fancy}

\thispagestyle{empty}

\vspace{2cm}

\begin{center}
	\begin{minipage}{0.75\linewidth}
	\begin{tcolorbox}[colframe=yellow,colback=yellow!15]
		\begin{center}
			\begin{tabular}{c}
				{\Huge \texttt{TangramTikz [en]}}\\
				\\
				{\LARGE An extension of Ti\textit{k}Z to display Tangrams,} \\
				\\
				{\LARGE outlining or not individual pieces,} \\
				\\
				{\LARGE with a single or individual colours} \\
			\end{tabular}
			
			\medskip
			
			{\small \texttt{Version \TPversion{} -- \TPdate}}
		\end{center}
	\end{tcolorbox}
\end{minipage}
\end{center}

\vspace{0.5cm}

\begin{center}
	\begin{tabular}{c}
	\texttt{Cédric Pierquet}\\
	{\ttfamily cpierquet -- at -- outlook . fr}\\
	\texttt{\url{https://forge.apps.education.fr/pierquetcedric/packages-latex}}
\end{tabular}
\end{center}

\vspace{0.5cm}

{$\blacktriangleright$~~Commands to display predefined Tangrams}

\smallskip

{$\blacktriangleright$~~Commands to create Tangrams by positioning individual pieces}

\smallskip

{$\blacktriangleright$~~Inspired by \url{https://tex.stackexchange.com/questions/407449/typesetting-tangram-figures-in-latex}}

\vspace{1cm}

\begin{center}
	\tikz {\pic[TangPuzz={blue}] at (0,0) {TangBigTri} ;}~~
	\tikz {\pic[TangPuzz={orange}] at (0,0) {TangBigTri} ;}~~
	\tikz {\pic[TangPuzz={purple}] at (0,0) {TangMedTri} ;}~~
	\tikz {\pic[TangPuzz={yellow}] at (0,0) {TangSqua} ;}~~
	\tikz {\pic[TangPuzz={green}] at (0,0) {TangSmalTri} ;}~~
	\tikz {\pic[TangPuzz={cyan}] at (0,0) {TangSmalTri} ;}~~
	\tikz {\pic[TangPuzz={magenta}] at (0,0) {TangPara} ;}~~
	
	\vspace*{1cm}
	
	\TangramTikz[Couleur=orange]<scale=1>{Maison}
	\TangramTikz[Solution]<scale=1>{Maison}
	\TangramTikz[ColorSolution]<scale=1>{Maison}
	\TangramTikz[ListeCouleurs={blue,red,black,orange,purple},CorrectionCouleur]<scale=1>{Maison}
\end{center}

\vspace{0.5cm}

\hfill{}\textit{Thanks to Eric Martin, teacher-researcher in Sydney, for his careful proofreading of the English version!}

%\hfill{}\textit{Merci à Denis Bitouzé et à Patrick Bideault pour leurs retours et idées !}

\vfill

\hrule

\medskip

\TableauDocumentation

\medskip

\hrule

\medskip

\newpage

\phantomsection
\hypertarget{matoc}{}

\tableofcontents

\newpage

\part{Introduction}

\section{The TangramTikz package}

\subsection{Origination}

Some of the ideas come from \url{https://tex.stackexchange.com/questions/407449/typesetting-tangram-figures-in-latex}, with a partial solution by Andrew Stacey.

\smallskip

The package has then been \textit{built} and \emph{modestly enriched} on the basis of the styles and methods proposed by Andrew Stacey.

\subsection{Loading the package, used packages}

The \textsf{TangramTikz} package is loaded into the preamble using:

\begin{PresentationCode}{listing only}
\usepackage{TangramTikz}
\end{PresentationCode}

It is fully compatible with the usual compilation methods, such as \textsf{latex}, \textsf{pdflatex}, \textsf{lualatex} or \textsf{xelatex}.

\medskip

It loads the following packages and libraries:

\begin{itemize}
	\item \texttt{tikz} with the \Cle{calc} and \Cle{shapes.geometric} libraries;
	\item \texttt{xstring}, \texttt{xparse}, \texttt{simplekv} and \texttt{listofitems}.
\end{itemize}

\subsection{Package design}

The aim is to leverage \TikZ\ functionality and define \textsf{commands} to display a Tangram puzzle:

\begin{itemize}
	\item without gaps between pieces, so the overall shape stands out,
	\item or with a small gap between pieces, which are then individually recognisable,
	\item in the latter case, with pieces that are either \textit{mono}coloured or \emph{individually} coloured.
\end{itemize}

\begin{PresentationCode}{listing only}
%Standalone command to display a Tangram
\TangramTikz[keys]<options tikz>{tangram_name}
\end{PresentationCode}

Also available are an \textsf{environment} and a special \textsf{command} to build a puzzle by positioning each piece.

\begin{PresentationCode}{listing only}
%Environment, with keys, to position the pieces
\begin{EnvTangramTikz}[keys]<options tikz>
	%Position each piece
	\PieceTangram[keys]<options pic>(offsetH,offsetV){TangBigTri}
	\PieceTangram[keys]<options pic>(offsetH,offsetH){TangBigTri}
	\PieceTangram[keys]<options pic>(offsetH,offsetH){TangMedTri}
	\PieceTangram[keys]<options pic>(offsetH,offsetH){TangSmalTri}
	\PieceTangram[keys]<options pic>(offsetH,offsetH){TangSmalTri}
	\PieceTangram[keys]<options pic>(offsetH,offsetH){TangSqua}
	\PieceTangram[keys]<options pic>(offsetH,offsetH){TangPara}
	%\filldraw[black] (0,0) circle[radius=4pt] ; %Origin to help positioning
\end{EnvTangramTikz}
\end{PresentationCode}

\pagebreak

\part{Using the package}

\section{Dealing with individual pieces}

\subsection{The pieces}

A Tangram consists of 7 pieces:
\begin{itemize}
	\item 2 large triangles; 1 medium triangle; 2 small triangles;
	\item 1 square;
	\item 1 parallelogram.
\end{itemize}

Each piece that makes up the Tangram is defined in \tikzlogo\ as an individual \texttt{pic}.

\medskip

Next is a figure that shows the 5 kinds of pieces, with for each of them:

\begin{itemize}
	\item the \textcolor{purple}{\texttt{name}} of the associated \texttt{pic};
	\item its initial \textit{orientation};
	\item its initial \textcolor{red}{\textit{origin}};
	\item its useful \textcolor{blue}{\textit{dimensions}} (given in \textit{unit}).
\end{itemize}

\begin{center}
	\begin{tikzpicture}[scale=1.25]
		\draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
		\PieceTangram{TangBigTri} \filldraw[red] (0,0) circle[radius=2pt] ;
		\draw[thick,<->,>=latex] (0,-0.25)--(2,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {2} ;
		\draw[thick,<->,>=latex] (2.25,0)--++(0,2) node[blue,scale=1.5,midway,right,font=\large\sffamily] {2} ;
		\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}}$} ;
		\draw (1,3) node[scale=1.5,purple,below=1pt,font=\Large\ttfamily] {TangBigTri} ;
	\end{tikzpicture}
	~
	\begin{tikzpicture}[scale=1.25]
		\draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
		\PieceTangram{TangMedTri} \filldraw[red] (0,0) circle[radius=2pt] ;
		\draw[thick,<->,>=latex] (0,-0.25)--(2,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {2} ;
		\draw[thick,<->,>=latex] (-0.15,0.15)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
		\draw[thick,<->,>=latex] (2.15,0.15)--++(135:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
		\draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangMedTri} ;
	\end{tikzpicture}
	~
	\begin{tikzpicture}[scale=1.25]
		\draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
		\PieceTangram{TangSmalTri} \filldraw[red] (0,0) circle[radius=2pt] ;
		\draw[thick,<->,>=latex] (0,-0.25)--(1,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {1} ;
		\draw[thick,<->,>=latex] (-0.15,0.15)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
		\draw[thick,<->,>=latex] (1.25,0)--++(0,1) node[blue,scale=1.5,midway,right,font=\large\sffamily] {1} ;
		\draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangSmalTri} ;
	\end{tikzpicture}
	
	\smallskip
	
	\begin{tikzpicture}[scale=1.25]
		\draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
		\PieceTangram{TangSqua} \filldraw[red] (0,0) circle[radius=2pt] ;
		\draw[thick,<->,>=latex] (0,-0.25)--(1,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {1} ;
		\draw[thick,<->,>=latex] (1.25,0)--++(0,1) node[blue,scale=1.5,midway,right,font=\large\sffamily] {1} ;
		\draw[thick,dashed] (0,0)--(-0.65,0.65) (1,1)--(0.35,1.65) ;
		\draw[thick,<->,>=latex] (-0.65,0.65)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
		\draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangSqua} ;
	\end{tikzpicture}
	~
	\begin{tikzpicture}[scale=1.25]
		\draw[thin,lightgray!50] (-1,-1) grid (3,3) ;
		\PieceTangram{TangPara} \filldraw[red] (0,0) circle[radius=2pt] ;
		\draw[thick,<->,>=latex] (0,-0.25)--(1,-0.25) node[blue,scale=1.5,midway,below,font=\large\sffamily] {1} ;
		\draw[thick,<->,>=latex] (-0.15,0.15)--++(45:{sqrt(2)}) node[blue,scale=1.5,midway,sloped,above,font=\large\sffamily] {$\mathsf{\sqrt{2}}$} ;
		\draw[thick,<->,>=latex] (2.15,0)--++(0,1) node[blue,scale=1.5,midway,right,font=\large\sffamily] {1} ;
		\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}}$} ;
		\draw[thick,dashed] (2,1)--++(0.15,0.15) (1,1)--++(45:{0.5*sqrt(2)+0.2}) ;
		\draw (1,3) node[purple,scale=1.5,below=1pt,font=\Large\ttfamily] {TangPara} ;
	\end{tikzpicture}
\end{center}

Each \textit{piece} can be:

\begin{itemize}
	\item rotated, thanks to \tikzlogo\ \texttt{rotate=...} option;
	\item flipped vertically or horizontally, thanks to \tikzlogo\ \texttt{xscale=-1} and \texttt{yscale=-1} options;
	\item moved, by placing its origin at the point of coordinates \texttt{(x,y)}.
\end{itemize}

Each piece comes with a \tikzlogo\ style:

\begin{itemize}
	\item \texttt{TangPuzz}: Tangram piece, \textit{without border}, coloured (\Cle{black} by default);
	\item \texttt{TangSol}: Tangram piece, \textit{with a white border}, coloured (\Cle{black} by default).
\end{itemize}

\pagebreak

\subsection{Positioning the pieces}

A first method is given by \tikzlogo{} \texttt{pic} syntax:

\begin{PresentationCode}{listing only}
%Environment or tikz command
\pic[style,rotate=...,xscale=...,yscale=...] at (x,y) {piece_name} ;
\end{PresentationCode}

The \textsf{TangramTikz} package offers a specific command to place the pieces:

\begin{PresentationCode}{listing only}
%Environment or tikz command
\PieceTangram[style={color}]<xscale=...,yscale=...,rotate=...>(x,y){piece_name}
\end{PresentationCode}

A Tangram is built from the 7 pieces, by:

\begin{itemize}
	\item \textit{placing} pieces at the origin;
	\item \textit{rotating/flipping} them to give them the desired orientation;
	\item \textit{moving} them to the desired location.
\end{itemize}

\begin{PresentationCode}{}
%Coloured solved version, default size
\begin{EnvTangramTikz}
	\PieceTangram[TangSol={green}]({0},{0}){TangSqua}
	\PieceTangram[TangSol={red}]({-1.5},{1}){TangBigTri}
	\PieceTangram[TangSol={red}]<rotate=-90>({0.5},{3}){TangBigTri}
	\PieceTangram[TangSol={purple}]<xscale=-1,rotate=0>({2.5},{2}){TangPara}
	\PieceTangram[TangSol={blue}]({-1.5},{2}){TangSmalTri}
	\PieceTangram[TangSol={blue}]<xscale=-1,rotate=90>({-0.5},{2}){TangSmalTri}
	\PieceTangram[TangSol={orange}]({-0.5},{3}){TangMedTri}
	\filldraw[black] (0,0) circle[radius=2pt] ; %help
\end{EnvTangramTikz}
%Standard version, default size
\begin{EnvTangramTikz}
	\PieceTangram[TangPuzz]({0},{0}){TangSqua}
	\PieceTangram[TangPuzz]({-1.5},{1}){TangBigTri}
	\PieceTangram[TangPuzz]<rotate=-90>({0.5},{3}){TangBigTri}
	\PieceTangram[TangPuzz]<xscale=-1,rotate=0>({2.5},{2}){TangPara}
	\PieceTangram[TangPuzz]({-1.5},{2}){TangSmalTri}
	\PieceTangram[TangPuzz]<xscale=-1,rotate=90>({-0.5},{2}){TangSmalTri}
	\PieceTangram[TangPuzz]({-0.5},{3}){TangMedTri}
\end{EnvTangramTikz}
\end{PresentationCode}

\pagebreak

\section{Dealing with a whole shape}

\subsection{Command}

A collection of predefined Tangrams is included in \textsf{TangramTikz}, together with a standalone \textsf{command} to display them:

\begin{PresentationCode}{listing only}
%Standalone command to display a Tangram
\TangramTikz[keys]<options tikz>{tangram_name}
\end{PresentationCode}

\begin{PresentationCode}{}
%Standalone command to display Cat/Boat/Kangaroo with default options
\TangramTikz{Cat}~~\TangramTikz{Boat}~~\TangramTikz{Kangaroo}
\end{PresentationCode}

\subsection{Keys, options and arguments}

The first argument, \textit{optional} and provided within \texttt{[...]}, deals with the keys and their associated options:

\begin{itemize}
	\item the boolean \Cle{Puzzle} to display \textit{mono}coloured pieces, without border \hfill~default : \Cle{true}
	\item the boolean \Cle{Solution} (\textsc{\textcolor{purple}{\scriptsize\textbf{new name since v0.1.7 !}}}) to display \textit{mono}coloured pieces, with a border \hfill~default : \Cle{false}
	\item \Cle{Color} to configure the \textit{mono}colour associated with the previous booleans \hfill~default : \Cle{black}
	\item the boolean \Cle{ColorSolution} (\textsc{\textcolor{purple}{\scriptsize\textbf{new name since v0.1.7 !}}}) to display coloured pieces, with a border \hfill~default : \Cle{false}
	\item \Cle{ColorList} to list the colours of the pieces (\texttt{BT,MT,ST,SQUA,PARA});
	
	\hfill~default : \Cle{red,orange,blue,green,purple}
	\item \Cle{Sep}, the width of the border in \Cle{Solution} mode. \hfill~default : \Cle{1pt}
\end{itemize}

The second argument, \textit{optional} and within \texttt{<...>}, provides options to the \tikzlogo{} environment, for instance:

\begin{itemize}
	\item change of unit
	\item change of scale
	\item rotation
	\item vertical alignment
\end{itemize}

The third argument, \textit{mandatory} and within \texttt{\{...\}}, is the name of the predefined Tangram (from the following list).

\pagebreak

\subsection{List of predefined Tangrams}

\texttt{\begin{multicols}{5}
	\begin{itemize}
		\item Square
		\item Pinguin
		\item Boat
		\item Home
		\item FirTree
		\item Cat
		\item Swan
		\item Pyramid
		\item Duck
		\item Rocket
		\item Candle
		\item Shirt
		\item Fish
		\item Sailboat
		\item Kangaroo
		\item Dog
		\item Plane
		\item Rabbit
		\item Rooster
		\item Jogger
		\item Dancer
		\item Camel
		\item Flamingo
		\item Heart
		\item Giraffe
		\item Horse
		\item Goat
		\item Lions
		\item Factory
		\item Angel
		\item Tower
		\item Ufo
		\item Chicken
		\item Turtle
		\item Crab
		\item Snail
		\item Goose
	\end{itemize}
\end{multicols}}

\begin{PresentationCode}{}
\TangramTikz{Rocket}~~
\TangramTikz[Color=red]{Rocket}~~
\TangramTikz[Solution]{Rocket}~~
\TangramTikz[Solution,Color=lightgray]{Rocket}~~
\TangramTikz[ColorSolution,ColorList={orange,blue,yellow,green,pink},Sep=1mm]{Rocket}

\TangramTikz<scale=1.5,rotate=30>{Rocket}~~
\TangramTikz<scale=0.75,rotate=-90>{Rocket}
\end{PresentationCode}

\pagebreak

\part{A gallery of Tangrams}

\begin{PresentationCode}{}
\TangramTikz{Square}
\TangramTikz[Solution]{Square}
\TangramTikz[ColorSolution]{Square}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Pinguin}
\TangramTikz[Solution]{Pinguin}
\TangramTikz[ColorSolution]{Pinguin}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Boat}
\TangramTikz[Solution]{Boat}
\TangramTikz[ColorSolution]{Boat}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Home}
\TangramTikz[Solution]{Home}
\TangramTikz[ColorSolution]{Home}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{FirTree}
\TangramTikz[Solution]{FirTree}
\TangramTikz[ColorSolution]{FirTree}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Cat}
\TangramTikz[Solution]{Cat}
\TangramTikz[ColorSolution]{Cat}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Swan}
\TangramTikz[Solution]{Swan}
\TangramTikz[ColorSolution]{Swan}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Pyramid}
\TangramTikz[Solution]{Pyramid}
\TangramTikz[ColorSolution]{Pyramid}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Duck}
\TangramTikz[Solution]{Duck}
\TangramTikz[ColorSolution]{Duck}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Rocket}
\TangramTikz[Solution]{Rocket}
\TangramTikz[ColorSolution]{Rocket}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Candle}
\TangramTikz[Solution]{Candle}
\TangramTikz[ColorSolution]{Candle}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Shirt}
\TangramTikz[Solution]{Shirt}
\TangramTikz[ColorSolution]{Shirt}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Fish}
\TangramTikz[Solution]{Fish}
\TangramTikz[ColorSolution]{Fish}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Sailboat}
\TangramTikz[Solution]{Sailboat}
\TangramTikz[ColorSolution]{Sailboat}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Kangaroo}
\TangramTikz[Solution]{Kangaroo}
\TangramTikz[ColorSolution]{Kangaroo}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Dog}
\TangramTikz[Solution]{Dog}
\TangramTikz[ColorSolution]{Dog}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Plane}
\TangramTikz[Solution]{Plane}
\TangramTikz[ColorSolution]{Plane}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Rabbit}
\TangramTikz[Solution]{Rabbit}
\TangramTikz[ColorSolution]{Rabbit}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Rooster}
\TangramTikz[Solution]{Rooster}
\TangramTikz[ColorSolution]{Rooster}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Jogger}
\TangramTikz[Solution]{Jogger}
\TangramTikz[ColorSolution]{Jogger}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Dancer}
\TangramTikz[Solution]{Dancer}
\TangramTikz[ColorSolution]{Dancer}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Camel}
\TangramTikz[Solution]{Camel}
\TangramTikz[ColorSolution]{Camel}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Flamingo}
\TangramTikz[Solution]{Flamingo}
\TangramTikz[ColorSolution]{Flamingo}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Heart}
\TangramTikz[Solution]{Heart}
\TangramTikz[ColorSolution]{Heart}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Giraffe}
\TangramTikz[Solution]{Giraffe}
\TangramTikz[ColorSolution]{Giraffe}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Horse}
\TangramTikz[Solution]{Horse}
\TangramTikz[ColorSolution]{Horse}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Goat}
\TangramTikz[Solution]{Goat}
\TangramTikz[ColorSolution]{Goat}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Lions}
\TangramTikz[Solution]{Lions}
\TangramTikz[ColorSolution]{Lions}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Factory}
\TangramTikz[Solution]{Factory}
\TangramTikz[ColorSolution]{Factory}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Angel}
\TangramTikz[Solution]{Angel}
\TangramTikz[ColorSolution]{Angel}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Tower}
\TangramTikz[Solution]{Tower}
\TangramTikz[ColorSolution]{Tower}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz<scale=0.75>{Ufo}
\TangramTikz[Solution]<scale=0.75>{Ufo}
\TangramTikz[ColorSolution]<scale=0.75>{Ufo}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Chicken}
\TangramTikz[Solution]{Chicken}
\TangramTikz[ColorSolution]{Chicken}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Turtle}
\TangramTikz[Solution]{Turtle}
\TangramTikz[ColorSolution]{Turtle}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Crab}
\TangramTikz[Solution]{Crab}
\TangramTikz[ColorSolution]{Crab}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz{Snail}
\TangramTikz[Solution]{Snail}
\TangramTikz[ColorSolution]{Snail}
\end{PresentationCode}

\begin{PresentationCode}{}
\TangramTikz<scale=0.75>{Goose}
\TangramTikz[Solution]<scale=0.75>{Goose}
\TangramTikz[ColorSolution]<scale=0.75>{Goose}
\end{PresentationCode}

\newpage

\part{History}

\verb|v0.1.7|~:~~~~Bugfixes in english doc + Renaming certain keys

\verb|v0.1.6|~:~~~~New models

\verb|v0.1.5|~:~~~~New models

\verb|v0.1.4|~:~~~~New models

\verb|v0.1.3|~:~~~~New models

\verb|v0.1.2|~:~~~~New models

\verb|v0.1.1|~:~~~~New models

\verb|v0.1.0|~:~~~~Initial version

\end{document}