summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/jeuxcartes
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-30 03:00:51 +0000
committerNorbert Preining <norbert@preining.info>2022-10-30 03:00:51 +0000
commitb2c88e6cbb5203ec5d33819454f1499cada7e336 (patch)
tree4c4af0d528b4d81f05c855c12e3aed8d94068428 /macros/latex/contrib/jeuxcartes
parent81f24542c377c836618974cee06163a6ad28da67 (diff)
CTAN sync 202210300300
Diffstat (limited to 'macros/latex/contrib/jeuxcartes')
-rw-r--r--macros/latex/contrib/jeuxcartes/README.md19
-rw-r--r--macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdfbin5663850 -> 6662060 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex221
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.pngbin44247 -> 57196 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.pngbin42766 -> 6550 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.pngbin42360 -> 6515 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.pngbin47466 -> 8337 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.pngbin56973 -> 9148 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.pngbin37927 -> 55004 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.pngbin44818 -> 59829 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.pngbin44384 -> 65265 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.pngbin36795 -> 52917 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.pngbin45828 -> 61233 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.pngbin53425 -> 68221 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.pngbin49300 -> 64238 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.pngbin49989 -> 66932 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.pngbin43440 -> 58843 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.pngbin43799 -> 54608 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.pngbin43792 -> 56498 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.pngbin48089 -> 63853 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.pngbin50287 -> 59695 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.pngbin27549 -> 3982 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.pngbin27207 -> 3885 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.pngbin29073 -> 4568 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.pngbin30579 -> 4837 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.pngbin50104 -> 63032 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.pngbin30378 -> 4496 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.pngbin30138 -> 4369 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.pngbin31671 -> 5226 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.pngbin34899 -> 5583 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.pngbin45425 -> 61773 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.pngbin28707 -> 4293 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.pngbin28936 -> 4236 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.pngbin31048 -> 5059 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.pngbin33487 -> 5569 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.pngbin43095 -> 58625 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.pngbin30426 -> 4617 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.pngbin30600 -> 4552 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.pngbin34235 -> 5519 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.pngbin37424 -> 6160 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.pngbin48338 -> 59895 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.pngbin31872 -> 5217 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.pngbin33157 -> 5008 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.pngbin37950 -> 6308 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.pngbin42512 -> 6865 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.pngbin49002 -> 62153 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.pngbin30118 -> 5270 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.pngbin29190 -> 5059 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.pngbin36529 -> 6377 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.pngbin40463 -> 7024 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.pngbin49112 -> 62990 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.pngbin37356 -> 5944 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.pngbin34636 -> 5742 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.pngbin41209 -> 7308 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.pngbin47785 -> 8152 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.pngbin48783 -> 58278 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.pngbin37970 -> 6038 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.pngbin37475 -> 5961 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.pngbin43485 -> 7427 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.pngbin47633 -> 8140 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.pngbin22035 -> 3206 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.pngbin21913 -> 3099 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.pngbin23870 -> 3693 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.pngbin25708 -> 3880 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.pngbin38389 -> 55076 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.pngbin37673 -> 55019 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.pngbin41010 -> 59298 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.pngbin40689 -> 57354 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.pngbin38949 -> 51517 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.pngbin38448 -> 49058 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.pngbin38922 -> 52460 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.pngbin32924 -> 44217 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.pngbin80226 -> 13810 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.pngbin46165 -> 59732 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.pngbin42817 -> 54000 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.pngbin43865 -> 56080 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.pngbin38016 -> 47461 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.pngbin44231 -> 59599 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.pngbin46382 -> 56135 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.pngbin49967 -> 63167 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.pngbin49125 -> 56491 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.pngbin42304 -> 53517 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0B.pngbin0 -> 18565 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0J.pngbin0 -> 17202 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0R.pngbin0 -> 18850 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0V.pngbin0 -> 19036 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1B.pngbin0 -> 15439 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1J.pngbin0 -> 14420 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1R.pngbin0 -> 15864 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1V.pngbin0 -> 15926 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2B.pngbin0 -> 18072 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2J.pngbin0 -> 16733 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2R.pngbin0 -> 18350 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2V.pngbin0 -> 18621 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3B.pngbin0 -> 17594 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3J.pngbin0 -> 16278 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3R.pngbin0 -> 17851 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3V.pngbin0 -> 18077 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4B.pngbin0 -> 16432 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4J.pngbin0 -> 15177 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4R.pngbin0 -> 16737 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4V.pngbin0 -> 16962 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5B.pngbin0 -> 17926 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5J.pngbin0 -> 16611 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5R.pngbin0 -> 18289 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5V.pngbin0 -> 18463 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6B.pngbin0 -> 16961 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6J.pngbin0 -> 15679 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6R.pngbin0 -> 17243 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6V.pngbin0 -> 17439 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7B.pngbin0 -> 16703 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7J.pngbin0 -> 15546 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7R.pngbin0 -> 17086 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7V.pngbin0 -> 17239 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8B.pngbin0 -> 17900 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8J.pngbin0 -> 16498 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8R.pngbin0 -> 18128 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8V.pngbin0 -> 18357 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9B.pngbin0 -> 17003 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9J.pngbin0 -> 15702 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9R.pngbin0 -> 17298 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9V.pngbin0 -> 17468 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSB.pngbin0 -> 26231 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSJ.pngbin0 -> 23900 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSR.pngbin0 -> 26768 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSV.pngbin0 -> 27195 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-Dos.pngbin0 -> 19451 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2B.pngbin0 -> 21458 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2J.pngbin0 -> 19765 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2R.pngbin0 -> 21877 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2V.pngbin0 -> 22037 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P4.pngbin0 -> 25683 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTJ.pngbin0 -> 23467 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTR.pngbin0 -> 26061 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTV.pngbin0 -> 26507 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/Caj-Uno-Coul.pngbin0 -> 29329 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/Caj-Uno-PTB.pngbin0 -> 25529 bytes
-rw-r--r--macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty794
138 files changed, 582 insertions, 452 deletions
diff --git a/macros/latex/contrib/jeuxcartes/README.md b/macros/latex/contrib/jeuxcartes/README.md
index bcfb5270a1..ec61e08005 100644
--- a/macros/latex/contrib/jeuxcartes/README.md
+++ b/macros/latex/contrib/jeuxcartes/README.md
@@ -1,9 +1,10 @@
-JeuxCartes is a package with playing cards.
---------------------------------------------------
-JeuxCartes est un package avec des cartes à jouer.
---------------------------------------------------
-Author : Cédric Pierquet
-email : cpierquet@outlook.fr
-Licence : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
-Poker cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards
-Tarot cards Image's Licence : Public Domain https://freesvg.org/ \ No newline at end of file
+JeuxCartes is a package with playing cards.
+--------------------------------------------------
+JeuxCartes est un package avec des cartes à jouer.
+--------------------------------------------------
+Author : Cédric Pierquet
+email : cpierquet@outlook.fr
+Licence : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
+Poker cards Image's Licence : LGPL-2.1 license, https://github.com/htdebeer/SVG-cards
+Tarot cards Image's Licence : Public Domain, https://freesvg.org/
+Uno cards Image's Licence : Public Domain, https://alexder.itch.io/uno-card-game-asset-pack \ No newline at end of file
diff --git a/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdf b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdf
index 7cf0434497..13458c708b 100644
--- a/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdf
+++ b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex
index 159fe3412f..07e617d605 100644
--- a/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex
+++ b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex
@@ -52,8 +52,8 @@
\setlength{\parindent}{0pt}
\definecolor{LightGray}{gray}{0.9}
-\def\TPversion{0.1.2}
-\def\TPdate{26 Octobre 2022}
+\def\TPversion{0.1.3}
+\def\TPdate{28 Octobre 2022}
\usepackage[most]{tcolorbox}
\usepackage[outputdir=build]{minted}
@@ -102,8 +102,8 @@
\begin{tabular}{c}
\lstinline!JeuxCartes!\\
\\
- Des cartes de poker ou de tarot, \\
- simples ou en \textit{mains}, \\
+ Des cartes de Poker ou de Tarot ou de Uno, \\
+ simples ou en \textit{mains} ou en \textit{mini}, \\
avec possibilité de tirage aléatoire.
\end{tabular}
\end{center}
@@ -128,7 +128,7 @@
\thispagestyle{empty}
-{\Large {\bfseries Résumé} : Quelques commandes pour afficher des cartes à jouer, de type Poker ou Tarot}
+{\Large $\blacktriangleright$~~Quelques commandes pour afficher des cartes à jouer, de type Poker/Tarot/Uno}
\medskip
@@ -143,7 +143,7 @@ Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main
\vspace{0.5cm}
\begin{center}
- \CartesJeu[Eventail,EspH=0,EspV=0.1]{7K § 8P § DT § AP § 10C § AC § 8T § 2K § VC}\hspace{0.5cm}\CartesJeu[TypeJeu=Tarot,EspH=0.85,EspV=0.2]{Exc § 1AT § CC § 8T § 2K § 5AT § 2AT § DP § 7T § 10C § 19AT § VP}
+ \MainCartesJeu[Eventail,EspH=0,EspV=0.1]{7K § 8P § DT § AP § 10C § AC § 8T § 2K § VC}\hspace{0.5cm}\MainCartesJeu[TypeJeu=Tarot,EspH=0.85,EspV=0.2]{Exc § 1AT § CC § 8T § 2K § 5AT § 2AT § DP § 7T § 10C § 19AT § VP}
\end{center}
\hfill{}\textit{Merci aux membres du groupe \faFacebook{} du \og Coin \LaTeX{} \fg{} pour leur aide et leurs idées !}
@@ -181,6 +181,11 @@ Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main
\vfill~
\part{Historique}
+
+{\small \bverb|v0.1.3|~:~~~~Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami
+
+{\small \bverb| |~:~~~~Amélioration de la qualité des cartes de Tarot (sans augmenter la taille)
+
{\small \bverb|v0.1.2|~:~~~~Modification du nom (et de la source) des images de Tarot (CC0)
{\small \bverb|v0.1.1|~:~~~~Ajout de commandes pour des mini-cartes
@@ -204,7 +209,8 @@ Les cartes sont des images :
%
\begin{itemize}
\item les cartes type \textsf{Poker} sont sous licence LGPL, \copyright{}2005, de David Bellot, via \url{https://github.com/htdebeer/SVG-cards} ;
- \item les cartes type \textsf{Tarot} sous licence CC0, du site \url{https://freesvg.org}.
+ \item les cartes type \textsf{Tarot} sous licence CC0, du site \url{https://freesvg.org} ;
+ \item les cartes type \textsf{Uno} (édité par Mattel\texttrademark) sous licence CC0, du site \url{https://alexder.itch.io/uno-card-game-asset-pack}.
\end{itemize}
\end{codeidee}
@@ -278,21 +284,60 @@ Autant que faire se peut, des exemples/illustrations/remarques seront proposés
Les \textsf{codes} seront présentés dans des \textsf{boîtes} \textcolor{red!75!black}{{\small \faCode} Code \LaTeX}, si possible avec la \textsf{sortie} dans la même boîte, et sinon la \textsf{sortie} sera visible dans des \textsf{boîtes} \textcolor{red!75!black}{{\small \faArrowAltCircleRight[regular]} Sortie \LaTeX}. Les \textsf{clés} ou \textsf{options} seront présentées dans des \textsf{boîtes} \textcolor{ForestGreen}{{\small \faPaperclip} Clés}.
\end{codeinfo}
+\subsection{Liste des commandes et jeux disponibles}
+
+\begin{codeinfo}
+Les \textit{Jeux} disponibles sont :
+
+\begin{itemize}
+ \item \Cle{Poker}, \Cle{Tarot} et \Cle{Uno} pour l'affichage des cartes ;
+ \item \Cle{Poker}, \Cle{Tarot}, \Cle{Bataille}, \Cle{Rami}, \Cle{Belote} et \Cle{Uno} pour les mains aléatoires.
+\end{itemize}
+\end{codeinfo}
+
+\begin{codetex}[listing only]
+%Affichage d'une seule carte (mode image pure ou mode tikz)
+\AffCarteJeu[...]{...}
+
+%Affichage en mode côte à côte de plusieurs cartes
+\AffCartesJeu[...]{...}
+
+%Affichage en main de plusieurs cartes (éventail possible)
+\MainCartesJeu[...]{...}
+
+%Affichage en main de cartes aléatoires (éventail possible)
+\MainCartesJeuAleatoire[...]{...}
+
+%affichage d'une mini-carte (mode 'inline')
+\AffMiniCarteJeu[...]{...}
+
+%affichage d'une main de mini-cartes (mode 'inline')
+\MainMiniCartesJeu[...]{...}
+
+%affichage d'une main de mini-cartes aléatoires (mode 'inline')
+\MainMiniCartesJeuAleatoire[...]{...}
+\end{codetex}
+
+\pagebreak
+
\part{Les commandes}
-\section{La commande simple \og CarteJeu \fg}
+\section{Les commandes simples \og AffCarteJeu \fg{} et \og AffCartesJeu \fg}
\subsection{Introduction}
\begin{codeinfo}
-La commande \ctex{AffCarteJeu} affiche une carte, avec un système de clés/options
+La commande \ctex{AffCarteJeu} affiche une carte, avec un système de clés/options.
+
+La commande \ctex{AffCartesJeu} affiche une liste de cartes ne mode \textit{côte à côte}, avec un système de clés/options.
\end{codeinfo}
\begin{codetex}[]
\AffCarteJeu{VP}\AffCarteJeu{10K}\AffCarteJeu{AC}\AffCarteJeu{DosBleu}\AffCarteJeu{DT}\\ \\
\AffCarteJeu[TypeJeu=Tarot]{VP}\AffCarteJeu[TypeJeu=Tarot]{Dos}
\AffCarteJeu[TypeJeu=Tarot]{Exc}\AffCarteJeu[TypeJeu=Tarot]{1AT}
-\AffCarteJeu[TypeJeu=Tarot]{10K}\AffCarteJeu[TypeJeu=Tarot]{18AT}
+\AffCarteJeu[TypeJeu=Tarot]{10K}\AffCarteJeu[TypeJeu=Tarot]{18AT}\\ \\
+\AffCartesJeu[TypeJeu=Uno]{P4 § PTR § Coul § 7B § 8V}
\end{codetex}
\subsection{Noms de cartes}
@@ -320,6 +365,19 @@ est fixé suivant le modèle suivant (typiquement \texttt{<hauteur>.<couleur>} )
\item \texttt{Exc}, \texttt{1AT}, \texttt{2AT}, \ldots, \texttt{20T}, \texttt{21AT}\dotfill\Cle{Atouts}
\item \texttt{Dos}\dotfill\Cle{Dos}
\end{itemize}
+ \item cartes de Uno :
+ \begin{itemize}
+ \item \texttt{0B}, \texttt{1B}, \ldots, \texttt{8B}, \texttt{9B}\dotfill\Cle{Bleu}
+ \item \texttt{0R}, \texttt{1R}, \ldots, \texttt{8R}, \texttt{9R}\dotfill\Cle{Rouge}
+ \item \texttt{0J}, \texttt{1J}, \ldots, \texttt{8J}, \texttt{9J}\dotfill\Cle{Jaune}
+ \item \texttt{0V}, \texttt{1V}, \ldots, \texttt{8V}, \texttt{9V}\dotfill\Cle{Vert}
+ \item \texttt{P2B}, \texttt{P2R}, \texttt{P2B}, \texttt{P2J}, \texttt{P2V}\dotfill\Cle{+2}
+ \item \texttt{PTB}, \texttt{PTR}, \texttt{PTB}, \texttt{PTJ}, \texttt{PTV}\dotfill\Cle{PasseTour}
+ \item \texttt{CSB}, \texttt{CSR}, \texttt{CSB}, \texttt{CSJ}, \texttt{CSV}\dotfill\Cle{ChangeSens}
+ \item \texttt{P4}\dotfill\Cle{+4}
+ \item \texttt{Coul}\dotfill\Cle{JokerCouleur}
+ \item \texttt{Dos}\dotfill\Cle{Dos}
+ \end{itemize}
\end{itemize}
\end{codeinfo}
@@ -327,6 +385,7 @@ est fixé suivant le modèle suivant (typiquement \texttt{<hauteur>.<couleur>} )
\begin{codetex}[listing only]
\AffCarteJeu[options]{<carte>}
+\AffCartesJeu[options]{<liste de cartes>}
\end{codetex}
\begin{codecles}
@@ -334,7 +393,7 @@ Concernant les \Cle{options} :
\begin{itemize}
\item la clé \Cle{Hauteur} correspond à la hauteur voulue, en cm, de la carte ; \hfill{}défaut \Cle{4.25}
- \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker}
+ \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Uno}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker}
\item la clé \Cle{Rotation} pour une éventuelle rotation de la carte ; \hfill{}défaut \Cle{0}
\item la clé \Cle{AlignementV} pour l'alignement vertical (lié à \ctex{raisebox} ou à \TikZ) ; \hfill{}défaut \Cle{0.5}
\item le booléen \Cle{Tikz} pour préciser que la carte est \textit{autonome}, dans un environnement \ctex{tikzpicture} ; \hfill{}défaut \Cle{false}
@@ -364,19 +423,12 @@ Il est à noter que la commande (en \textit{interne}) est liée à un \textit{so
\begin{codetex}[]
En mode normal, \AffCarteJeu{VP} ou \AffCarteJeu[AlignementV=0]{DosRouge} ou
-\AffCarteJeu[AlignementV=1]{10K} ou \AffCarteJeu[TypeJeu=Tarot,AlignementV=0.33,Rotation=25]{10AT}.
-
-\smallskip
-
-En mode \TikZ, \AffCarteJeu[Hauteur=2.75,Tikz]{VP}
-ou \AffCarteJeu[Hauteur=2.75,AlignementV=0,Tikz]{DosVert}
-ou \AffCarteJeu[Hauteur=2.75,AlignementV=1,Tikz]{10K}
-ou \AffCarteJeu[Hauteur=2.75,TypeJeu=Tarot,AlignementV=0.33,Rotation=-25]{10AT}.
-
-\smallskip
-
-On obtient la main \AffCarteJeu[Hauteur=2]{VP}\AffCarteJeu[Hauteur=2]{10K}
-\AffCarteJeu[Hauteur=2]{AK}\AffCarteJeu[Hauteur=2]{JN}\AffCarteJeu[Hauteur=2]{7P}.
+\AffCarteJeu[AlignementV=1]{10K} ou \AffCarteJeu[TypeJeu=Tarot,AlignementV=0.33,Rotation=25]{10AT}.\\ \\
+En mode \TikZ, \AffCarteJeu[Hauteur=2,Tikz]{VP}
+ou \AffCarteJeu[Hauteur=2,AlignementV=0,Tikz]{DosVert}
+ou \AffCarteJeu[Hauteur=2,AlignementV=1,Tikz]{10K}
+ou \AffCarteJeu[Hauteur=2,TypeJeu=Tarot,AlignementV=0.33,Rotation=-25]{10AT}.\\ \\
+On obtient la main \AffCartesJeu[Hauteur=2,TypeJeu=Uno]{9B § 8R § P2J § P4 § 0J § CSR § PTJ}.
\end{codetex}
\section{Main de cartes}
@@ -392,7 +444,7 @@ Les commandes pour créer des \textit{mains} sont obligatoirement liées à des
\end{codeattention}
\begin{codetex}[listing only]
-\CartesJeu[options]{<liste de cartes>}
+\MainCartesJeu[options]{<liste de cartes>}
\end{codetex}
\subsection{Clés et options}
@@ -408,7 +460,7 @@ Les \Cle{options} sont les suivantes :
\begin{itemize}
\item la clé \Cle{Hauteur} correspond à la hauteur voulue, en cm, des cartes ; \hfill{}défaut \Cle{4.25}
- \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker}
+ \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Uno}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker}
\item la clé \Cle{EspH} correspond à coefficient d'espacement horizontal (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{1}
\item la clé \Cle{EspH} correspond à coefficient d'espacement vertical (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{0}
\item le booléen \Cle{Eventail} pour une présentation en éventail ; \hfill{}défaut \Cle{false}
@@ -418,9 +470,9 @@ Les \Cle{options} sont les suivantes :
\end{codecles}
\begin{codetex}[]
-\CartesJeu{7K § 8P § DT § AC}
-~ou \CartesJeu[Eventail,EspH=0,EspV=0.1]{7K § 8P § DT § AC}
-~ou \CartesJeu[Eventail,EspH=0.5]{7K § 8P § DT § AC}
+\MainCartesJeu{7K § 8P § DT § AC}
+~ou \MainCartesJeu[Eventail,EspH=0,EspV=0.1]{7K § 8P § DT § AC}
+~ou \MainCartesJeu[Eventail,EspH=0.5]{7K § 8P § DT § AC}
\end{codetex}
\begin{codeinfo}
@@ -436,23 +488,23 @@ Les exemples proposés dans cette documentation permettent de se rendre compte d
\end{codeinfo}
\begin{codetex}[]
-\CartesJeu[TypeJeu=Tarot]%
- {Exc § 1AT § CC § 8T § 2K § 5AT § 2AT § DP § 7T § 10C § 19AT § VP}
+\MainCartesJeu[TypeJeu=Uno,EspH=1.75]%
+ {9B § P4 § P2J § 1R § 7R § PTV § 2J § 5J § 9B § PTR § 5V}
\smallskip
-\CartesJeu[TypeJeu=Tarot,EspH=1,EspV=-0.15,Hauteur=2.25]%
+\MainCartesJeu[TypeJeu=Tarot,EspH=1,EspV=-0.15,Hauteur=2.25]%
{Exc § 1AT § CC § 8T § 2K § 5AT § 2AT § DP § 7T § 10C § 19AT § VP}
\smallskip
-Ça c'est une belle poignée ! \CartesJeu[Eventail,Hauteur=3,TypeJeu=Tarot,EspH=0,EspV=0.1]%
+Ça c'est une belle poignée ! \MainCartesJeu[Eventail,Hauteur=3,TypeJeu=Tarot,EspH=0,EspV=0.1]%
{Exc § 1AT § 2AT § 3AT § 4AT § 5AT § 6AT § %
10AT § 11AT § 15AT § 16AT § 19AT § 20AT § 21AT}
\smallskip
-Et un chien qui en a : \CartesJeu[Eventail,Hauteur=2,TypeJeu=Tarot,EspH=0.5,EspV=0.15,Rotation=20]%
+Et un chien qui en a : \MainCartesJeu[Eventail,Hauteur=2,TypeJeu=Tarot,EspH=0.5,EspV=0.15,Rotation=20]%
{DK § 10AT § 16AT § VP § 1AT}
\end{codetex}
@@ -467,13 +519,13 @@ L'idée est ici de proposer une commande, similaire à la précédente, mais qui
\end{codeidee}
\begin{codetex}[listing only]
-\CartesJeuAleatoire[<options>]{<nombre de cartes>}
+\MainCartesJeuAleatoire[<options>]{<nombre de cartes>}
\end{codetex}
\begin{codetex}[]
-Voilà de quoi d'obtenir une main aléatoire de Poker :
+Voilà de quoi obtenir une main aléatoire de Poker :
-\CartesJeuAleatoire{5}
+\MainCartesJeuAleatoire{5}
\end{codetex}
\subsection{Clés et options}
@@ -483,7 +535,7 @@ Les \Cle{options} sont les suivantes :
\begin{itemize}
\item la clé \Cle{Hauteur} correspond à la hauteur voulue, en cm, des cartes ; \hfill{}défaut \Cle{4.25}
- \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Belote} ou \Cle{Bataille}) ; \hfill{}défaut \Cle{Poker}
+ \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Belote} ou \Cle{Bataille} ou \Cle{Rami} ou \Cle{Uno}) ; \hfill{}défaut \Cle{Poker}
\item la clé \Cle{EspH} correspond à coefficient d'espacement horizontal (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{1}
\item la clé \Cle{EspH} correspond à coefficient d'espacement vertical (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{0}
\item le booléen \Cle{Eventail} pour une présentation en éventail ; \hfill{}défaut \Cle{false}
@@ -507,24 +559,22 @@ En ce qui concerne les \textit{jeux} disponibles (non modifiables) :
\begin{codetex}[]
\textbf{\large Belote :} \\
-
-\CartesJeuAleatoire[Hauteur=2,TypeJeu=Belote]{8} ou \CartesJeuAleatoire[Hauteur=2,TypeJeu=Belote]{8}.\\
-
+\MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Belote]{8} ou \MainCartesJeuAleatoire[Hauteur=2,TypeJeu=Belote]{8}.\\
\textbf{\large Poker :} \\
-
-\CartesJeuAleatoire[Hauteur=3,Eventail,EspH=0,EspV=0.1]{5} ou \CartesJeuAleatoire[Hauteur=3,Eventail,EspH=0,EspV=0.1]{5}.\\
-
+\MainCartesJeuAleatoire[Hauteur=2.5,Eventail,EspH=0,EspV=0.1]{5} ou \MainCartesJeuAleatoire[Hauteur=2.5,Eventail,EspH=0,EspV=0.1]{5}.\\
\textbf{\large Bataille :} \\
-
-\CartesJeuAleatoire[Hauteur=2.25,TypeJeu=Bataille]{27}\\
-
+\MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Bataille]{27}\\
\textbf{\large Tarot :} \\
-
-\CartesJeuAleatoire[Hauteur=3.25,TypeJeu=Tarot]{10} ou~
-\CartesJeuAleatoire[Hauteur=3.25,Eventail,TypeJeu=Tarot,EspH=0,EspV=0.1]{10}
+\MainCartesJeuAleatoire[Hauteur=3.25,TypeJeu=Tarot]{10} ou~
+\MainCartesJeuAleatoire[Hauteur=3.25,Eventail,TypeJeu=Tarot,EspH=0,EspV=0.1]{10}.
\end{codetex}
-\pagebreak
+\begin{codetex}[]
+\textbf{\large Rami :} \\
+\MainCartesJeuAleatoire[Hauteur=3.75,TypeJeu=Rami]{15}\\
+\textbf{\large Uno :} \\
+\MainCartesJeuAleatoire[Hauteur=4,TypeJeu=Uno,Eventail,EspH=-0.1,Rotation=15,EspV=0.1]{7}
+\end{codetex}
\section{\textit{Mini}-Cartes}
@@ -539,13 +589,13 @@ Ces \textit{mini-}cartes sont des figures \TikZ, alignées verticalement sur leu
\end{codeidee}
\begin{codetex}[listing only]
-\MiniCarteJeu[<options>]{<carte>}
+\AffMiniCarteJeu[<options>]{<carte>}
\end{codetex}
\begin{codetex}[]
Si on met du texte sur la ligne du dessus, on peut voir le résultat.\\
-Voilà des exemples de mini-cartes, \MiniCarteJeu{7.K}\MiniCarteJeu{1.AT}\MiniCarteJeu{V.K}\MiniCarteJeu{10.C}, intégrables dans un paragraphe.\\
-Si on met du texte sur la ligne du dessous, on peut voir le résultat.
+Voilà des exemples de mini-cartes, \AffMiniCarteJeu{7.K}\AffMiniCarteJeu{1.AT}\AffMiniCarteJeu{V.K}\AffMiniCarteJeu{10.C}, intégrables dans un paragraphe.\\
+Si on met du texte sur la ligne du dessous, on peut voir le résultat.\\
\end{codetex}
\subsection{Noms des \textit{mini-}cartes}
@@ -561,6 +611,8 @@ Pour des raisons internes au code, les cartes doivent être saisies suivant la n
\item \texttt{J.N}, \texttt{J.R}\dotfill\Cle{Joker}
\item \texttt{Exc}, \texttt{1.AT}, \texttt{2.AT}, \ldots, \texttt{20.T}, \texttt{21.AT}\dotfill\Cle{Atouts}
\end{itemize}
+
+Par contre, il n'est pas prévu de \textit{mini-}cartes pour le Uno.
\end{codeinfo}
\begin{codeinfo}
@@ -579,9 +631,9 @@ Quelques \Cle{options} pour les \textit{mini-}cartes :
\end{codecles}
\begin{codetex}[]
-\foreach \EECARTE in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}{\MiniCarteJeu[Largeur=0.75cm]{\EECARTE.K}}\\
-\MiniCarteJeu[FondAtout=LightSkyBlue,Largeur=0.75cm]{Exc}%
-\foreach \EECARTE in {1,2,...,21}{\MiniCarteJeu[FondAtout=LightSkyBlue,Largeur=0.75cm]{\EECARTE.AT}}
+\foreach \EECARTE in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}{\AffMiniCarteJeu[Largeur=0.75cm]{\EECARTE.K}}\\
+\AffMiniCarteJeu[FondAtout=LightSkyBlue,Largeur=0.75cm]{Exc}%
+\foreach \EECARTE in {1,2,...,21}{\AffMiniCarteJeu[FondAtout=LightSkyBlue,Largeur=0.75cm]{\EECARTE.AT}}
\end{codetex}
\subsection{\textit{Mini}-Mains et \textit{mini}-mains aléatoires}
@@ -591,35 +643,38 @@ Comme pour les cartes \textit{classiques}, il existe deux commandes pour des \te
\end{codeidee}
\begin{codetex}[listing only]
-\MiniCartesJeu[<options>]{<liste de cartes>}
+\MainMiniCartesJeu[<options>]{<liste de cartes>}
-\MiniCartesJeuAleatoire[<options>]{<liste de cartes>}
+\MainMiniCartesJeuAleatoire[<options>]{<nb cartes>}
\end{codetex}
\begin{codecles}
Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus :
\begin{itemize}
- \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Belote} ou \Cle{Bataille}). \hfill{}défaut \Cle{Poker}
+ \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Belote} ou \Cle{Bataille} ou \Cle{Rami}). \hfill{}défaut \Cle{Poker}
\end{itemize}
\end{codecles}
\begin{codetex}[]
\textbf{\large Saisie de mains : }\\
-\MiniCartesJeu{7.K § A.P § D.T § V.K § 10.C § C.T} et~
-\MiniCartesJeu{Exc § 1.AT § C.C § 8.T § 2.K § 5.AT § 2.AT § D.P § 7.T § 10.C § 19.AT § V.P}\\
+\MainMiniCartesJeu{7.K § A.P § D.T § V.K § 10.C § C.T} et~
+\MainMiniCartesJeu{Exc § 1.AT § C.C § 8.T § 2.K § 5.AT § 2.AT § D.P § 7.T § 10.C § 19.AT § V.P}\\
\textbf{\large Poker : }\\
-\MiniCartesJeuAleatoire{5} ou \MiniCartesJeuAleatoire{5} ou \MiniCartesJeuAleatoire{5} ou \MiniCartesJeuAleatoire{5}.\\
+\MainMiniCartesJeuAleatoire{5} ou \MainMiniCartesJeuAleatoire{5} ou \MainMiniCartesJeuAleatoire{5} ou \MainMiniCartesJeuAleatoire{5}.\\
\textbf{\large Belote :}\\
-\MiniCartesJeuAleatoire[TypeJeu=Belote]{8} ou \MiniCartesJeuAleatoire[TypeJeu=Belote]{8} ou \MiniCartesJeuAleatoire[TypeJeu=Belote]{8}.\\
+\MainMiniCartesJeuAleatoire[TypeJeu=Belote]{8} ou \MainMiniCartesJeuAleatoire[TypeJeu=Belote]{8} ou \MainMiniCartesJeuAleatoire[TypeJeu=Belote]{8}.\\
\textbf{\large Bataille : }\\
-\MiniCartesJeuAleatoire[TypeJeu=Bataille]{12} ou \MiniCartesJeuAleatoire[TypeJeu=Bataille]{12}.\\
+\MainMiniCartesJeuAleatoire[TypeJeu=Bataille]{12} ou \MainMiniCartesJeuAleatoire[TypeJeu=Bataille]{12}.\\
\textbf{\large Tarot : }\\
-\MiniCartesJeuAleatoire[TypeJeu=Tarot]{10} ou \MiniCartesJeuAleatoire[TypeJeu=Tarot]{10}.
+\MainMiniCartesJeuAleatoire[TypeJeu=Tarot]{10} ou \MainMiniCartesJeuAleatoire[TypeJeu=Tarot]{10}.\\
+
+\textbf{\large Rami : }\\
+\MainMiniCartesJeuAleatoire[TypeJeu=Rami]{15} ou \MainMiniCartesJeuAleatoire[TypeJeu=Rami]{14}.
\end{codetex}
\pagebreak
@@ -651,33 +706,47 @@ Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus
\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1T}}
-\AffCarteJeu[TypeJeu=Tarot,Hauteur=2]{Exc}%
+\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{Exc}%
\xintFor #1 in {1,2,3,4,5,6,7,8,9,10}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1AT}}%
-\AffCarteJeu[TypeJeu=Tarot,Hauteur=2]{Dos}
+\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{Dos}
\xintFor #1 in {11,12,13,14,15,16,17,18,19,20,21}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1AT}}%
\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{Dos}
\pagebreak
+\subsection{Cartes de Uno}
+
+\AffCartesJeu[TypeJeu=Uno,Hauteur=2]{0B § 1B § 2B § 3B § 4B § 5B § 6B § 7B § 8B § 9B § P2B § PTB § CSB}
+
+\AffCartesJeu[TypeJeu=Uno,Hauteur=2]{0R § 1R § 2R § 3R § 4R § 5R § 6R § 7R § 8R § 9R § P2R § PTR § CSR}
+
+\AffCartesJeu[TypeJeu=Uno,Hauteur=2]{0J § 1J § 2J § 3J § 4J § 5J § 6J § 7J § 8J § 9J § P2J § PTJ § CSJ}
+
+\AffCartesJeu[TypeJeu=Uno,Hauteur=2]{0V § 1V § 2V § 3V § 4V § 5V § 6V § 7V § 8V § 9V § P2V § PTV § CSV}
+
+\AffCartesJeu[TypeJeu=Uno,Hauteur=2]{P4 § Coul § Dos}
+
\subsection{MiniCartes}
-\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.P}}
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffMiniCarteJeu{#1.P}}
-\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.C}}
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffMiniCarteJeu{#1.C}}
-\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.K}}
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffMiniCarteJeu{#1.K}}
-\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.T}}
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffMiniCarteJeu{#1.T}}
-\MiniCarteJeu{J.N}\MiniCarteJeu{J.R}
+\AffMiniCarteJeu{J.N}\AffMiniCarteJeu{J.R}
\medskip
-\MiniCarteJeu{Exc}%
-\xintFor #1 in {1,2,3,4,5,6,7,8,9,10}\do{\MiniCarteJeu{#1.AT}}
+\AffMiniCarteJeu{Exc}%
+\xintFor #1 in {1,2,3,4,5,6,7,8,9,10}\do{\AffMiniCarteJeu{#1.AT}}
+
+\xintFor #1 in {11,12,13,14,15,16,17,18,19,20,21}\do{\AffMiniCarteJeu{#1.AT}}%
-\xintFor #1 in {11,12,13,14,15,16,17,18,19,20,21}\do{\MiniCarteJeu{#1.AT}}%
+\pagebreak
\section{Carte simple dans un environnement \TikZ}
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.png
index 99f8286180..ba302956ad 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.png
index 2b04117df5..9264e77c42 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.png
index 12971fcaab..0450435639 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.png
index 2c853b1758..4968d1649d 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.png
index a8a6bca4df..8526467433 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.png
index 9e8a68bb0d..b3b8133321 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.png
index 067a4f86ea..2838f0a478 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.png
index 6e5e238084..2193b662d9 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.png
index 2a2129b944..c1e6efb90d 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.png
index dfe28537f8..2e5600fa0a 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.png
index 5e6677b910..3505b53c99 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.png
index 7520988052..08d0b4fb07 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.png
index 39bb7f054a..b43d654a3a 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.png
index 74b6d63a3a..2bd5350cbb 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.png
index c597d451d8..b74bb13177 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.png
index c8f0e7c6e3..9360e74717 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.png
index 3f18693fdf..02561017d4 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.png
index 565a8bba92..78a9ca74d1 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.png
index e0b4d2b05c..97b9c47962 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.png
index a86d518c93..39c83a2d32 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.png
index 4f91a036a9..3a6b4b329e 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.png
index a80c47b6dc..fc57bcf13c 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.png
index cd0729efc7..5fa6cbd4cb 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.png
index a06a5d69a3..21c4a45ba6 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.png
index 2138f6a8d8..5f7d0adbdd 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.png
index 2869a70e19..b4ce45275c 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.png
index f5b7fce1f7..517cd6d297 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.png
index 2c8b7392ef..29c7c0bfe2 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.png
index 19917255c8..e3465aa897 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.png
index 21b0a5f57e..c0aed66137 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.png
index b8ba63f36e..0292f4364c 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.png
index 5868cbdb0d..66c1d14703 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.png
index aedb0c4399..ce0482b6ab 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.png
index ef87bf92a2..64b85578a8 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.png
index 9891e868a5..045c01969a 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.png
index 35bf65c381..a7a3c0f224 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.png
index c700fe0215..79dfb5fd76 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.png
index 63b302112b..eeeae64113 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.png
index 77c57f6362..aeecd1f277 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.png
index 30f171483a..1206bdbdd3 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.png
index f58346b8aa..6e1d4f2ab2 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.png
index 41fd9df936..d2548554ce 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.png
index 48492d74fc..03cd40b414 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.png
index db5748f145..2f255dc627 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.png
index c308120066..7ef37eaba1 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.png
index d2dc30f935..d698af1992 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.png
index ce49ddd1a1..19a998cbaf 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.png
index e8d50bf89f..6cdff476df 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.png
index 9db298531a..d31fc5c7c3 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.png
index ad2d973a57..f5545b20ef 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.png
index 4a4a763faa..f342067f6b 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.png
index 68c7761162..3c0c19850d 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.png
index e07ae08c57..63786f8e83 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.png
index ad8d90b1cb..4e783343c0 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.png
index 300186f835..9ac4038970 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.png
index 510803578f..20a33a224d 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.png
index 2c5f6b7d5b..6d1952986e 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.png
index 7ef4682fb0..b7da50fc3a 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.png
index 8658a7417f..657811d3ed 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.png
index d9f37790b1..fa81068f40 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.png
index a5bb6ff59e..7c8e4c8fb8 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.png
index e4a74c9fa7..fb9c5c2b4c 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.png
index a16a9f4c3e..f091530e3a 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.png
index 539819df05..d41eaee49b 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.png
index fc45c569af..319c8cedfb 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.png
index 3ea415980b..a7bc94d96a 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.png
index 5f520f9867..01b22f76e7 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.png
index f5349b86e2..46fc995edc 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.png
index 220287bb72..9e9e390649 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.png
index 4cc36a5cf9..e4a2879a8c 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.png
index 560e1f1473..aeac134872 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.png
index df94f090e4..9ff480cae2 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.png
index cdc8117c37..8beccf96b6 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.png
index 642d4756bc..8f08aaa8a8 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.png
index 307f0efabc..0be50e9f55 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.png
index ceacfaecfb..a88eccda7d 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.png
index bc5598bb00..20ae0918bc 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.png
index b2d53510f8..0f7d4cb104 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.png
index 73a743ad26..c1d2eb779a 100644
--- a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.png
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0B.png
new file mode 100644
index 0000000000..05114490eb
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0J.png
new file mode 100644
index 0000000000..f63aa68b1a
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0R.png
new file mode 100644
index 0000000000..3d8f05694b
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0V.png
new file mode 100644
index 0000000000..bbe8dd3f76
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-0V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1B.png
new file mode 100644
index 0000000000..098d378a31
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1J.png
new file mode 100644
index 0000000000..cff7c99e76
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1R.png
new file mode 100644
index 0000000000..8a65ad1afe
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1V.png
new file mode 100644
index 0000000000..d61972f03f
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-1V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2B.png
new file mode 100644
index 0000000000..ebc489c405
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2J.png
new file mode 100644
index 0000000000..b79a3df08f
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2R.png
new file mode 100644
index 0000000000..03580a3a18
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2V.png
new file mode 100644
index 0000000000..4b27640c31
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-2V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3B.png
new file mode 100644
index 0000000000..55c431c5d6
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3J.png
new file mode 100644
index 0000000000..cc3265aa7e
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3R.png
new file mode 100644
index 0000000000..1349bedbc7
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3V.png
new file mode 100644
index 0000000000..ba94e7ac2f
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-3V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4B.png
new file mode 100644
index 0000000000..6097938af6
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4J.png
new file mode 100644
index 0000000000..fb8d19f44b
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4R.png
new file mode 100644
index 0000000000..fea17c7b5b
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4V.png
new file mode 100644
index 0000000000..b8747e1b8e
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-4V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5B.png
new file mode 100644
index 0000000000..ef9452d2a3
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5J.png
new file mode 100644
index 0000000000..5efda76b2d
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5R.png
new file mode 100644
index 0000000000..5d049fba70
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5V.png
new file mode 100644
index 0000000000..fd7ae1198b
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-5V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6B.png
new file mode 100644
index 0000000000..dff139e926
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6J.png
new file mode 100644
index 0000000000..14253e13d7
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6R.png
new file mode 100644
index 0000000000..be16264dba
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6V.png
new file mode 100644
index 0000000000..1ab72d0001
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-6V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7B.png
new file mode 100644
index 0000000000..2bb2077e0c
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7J.png
new file mode 100644
index 0000000000..d9baae1f9f
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7R.png
new file mode 100644
index 0000000000..697ae9b95c
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7V.png
new file mode 100644
index 0000000000..3df2c4822e
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-7V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8B.png
new file mode 100644
index 0000000000..2ad5440780
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8J.png
new file mode 100644
index 0000000000..9ae59a01a7
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8R.png
new file mode 100644
index 0000000000..fb410389ab
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8V.png
new file mode 100644
index 0000000000..412cb7a8f6
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-8V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9B.png
new file mode 100644
index 0000000000..f303c104a1
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9J.png
new file mode 100644
index 0000000000..db8fa3d2b9
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9R.png
new file mode 100644
index 0000000000..489c8aaab1
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9V.png
new file mode 100644
index 0000000000..1c3f7380d9
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-9V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSB.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSB.png
new file mode 100644
index 0000000000..c3a02a5a97
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSB.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSJ.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSJ.png
new file mode 100644
index 0000000000..541cffa530
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSJ.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSR.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSR.png
new file mode 100644
index 0000000000..e215095337
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSR.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSV.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSV.png
new file mode 100644
index 0000000000..1792f42e63
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-CSV.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-Dos.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-Dos.png
new file mode 100644
index 0000000000..62451d6c4a
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-Dos.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2B.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2B.png
new file mode 100644
index 0000000000..54f6070d30
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2B.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2J.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2J.png
new file mode 100644
index 0000000000..730cd6a886
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2J.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2R.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2R.png
new file mode 100644
index 0000000000..180c597c57
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2R.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2V.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2V.png
new file mode 100644
index 0000000000..0a9fa5b96b
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P2V.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P4.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P4.png
new file mode 100644
index 0000000000..dc30b311ac
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-P4.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTJ.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTJ.png
new file mode 100644
index 0000000000..1077bd10dc
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTJ.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTR.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTR.png
new file mode 100644
index 0000000000..c79f71ab6a
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTR.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTV.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTV.png
new file mode 100644
index 0000000000..8f71738c1d
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Uno-PTV.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/Caj-Uno-Coul.png b/macros/latex/contrib/jeuxcartes/tex/Caj-Uno-Coul.png
new file mode 100644
index 0000000000..6ff22574f7
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/Caj-Uno-Coul.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/Caj-Uno-PTB.png b/macros/latex/contrib/jeuxcartes/tex/Caj-Uno-PTB.png
new file mode 100644
index 0000000000..d5822926cd
--- /dev/null
+++ b/macros/latex/contrib/jeuxcartes/tex/Caj-Uno-PTB.png
Binary files differ
diff --git a/macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty b/macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty
index 5dfd0b5a03..26c2741e4b 100644
--- a/macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty
+++ b/macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty
@@ -1,368 +1,428 @@
-% Author : C. Pierquet
-% licence : Released under the LaTeX Project Public License v1.3c
-% or later, see http://www.latex-project.org/lppl.txtf
-% Poker cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards
-% Tarot cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{JeuxCartes}[2022/10/26 v0.1.2 Jeux de cartes]
-% 0.1.2 Modification du nom (et de la source) des images de Tarot (CC0)
-% 0.1.1 Ajout de commandes pour des mini-cartes
-% 0.1 Version initiale
-
-%------Packages utiles
-\RequirePackage{graphicx}
-\RequirePackage[table,svgnames]{xcolor}
-\RequirePackage{tikz}
-\RequirePackage{pgf,pgffor}
-\RequirePackage{xfp}
-\RequirePackage{listofitems}
-\RequirePackage{xstring}
-\RequirePackage{xparse}
-\RequirePackage{simplekv}
-\RequirePackage{xinttools}
-\RequirePackage{randomlist}
-\RequirePackage{pifont}
-%librairies tikz
-\usetikzlibrary{calc,scopes}
-%images venant de https://github.com/htdebeer/SVG-cards
-%images venant de https://freesvg.org/deck-of-french-tarot-playing-cards
-
-%------Commande en ligne (includegraphics) via raisebox/rotatebox ou tikz
-\defKV[AffCarteJeu]{%
- Hauteur=\def\AffCarteJeuHauteur{#1},%
- DecalageX=\def\AffCarteJeuDecalageX{#1},%
- DecalageY=\def\AffCarteJeuDecalageY{#1},%
- Rotation=\def\AffCarteJeuRotation{#1},%
- AlignementV=\def\AffCarteJeuAlignementV{#1},%
- TypeJeu=\def\AffCarteJeuType{#1}
-}
-\setKVdefault[AffCarteJeu]{%
- Hauteur=4.25,%
- Tikz=false,%pour placer la commande dans un environnement tikz ou en raisebox,
- TikzAutonome=true,%pour déjà mettre l'image dans du tikz
- DecalageX=0,%
- DecalageY=0,%
- Rotation=0,%
- AlignementV=0.5,%
- TypeJeu=Poker
-}
-
-\NewDocumentCommand\AffCarteJeu{ O{} m }{%1=options,2=cartenommée
- \useKVdefault[AffCarteJeu]%
- \setKV[AffCarteJeu]{#1}%
- %cas poker
- \IfStrEq{\AffCarteJeuType}{Poker}%poker
- {\def\CartePrefixe{CaJ-Poker-}}{}%
- \IfStrEq{\AffCarteJeuType}{Tarot}%tarot
- {\def\CartePrefixe{CaJ-Tarot-}}{}%
- %transformation valign en tikz
- \def\OptionTikzCBB{current bounding box.center}%
- \IfStrEq{\AffCarteJeuAlignementV}{0}%
- {\def\OptionTikzCBB{current bounding box.south}}{}%
- \IfStrEq{\AffCarteJeuAlignementV}{1}%
- {\def\OptionTikzCBB{current bounding box.north}}{}%
- %affichage
- \ifboolKV[AffCarteJeu]{Tikz}%
- {%
- \ifboolKV[AffCarteJeu]{TikzAutonome}%
- {%
- {\tikz[baseline=(\OptionTikzCBB)] \draw (\AffCarteJeuDecalageX,\AffCarteJeuDecalageY) node[above right=0pt,inner sep=0pt,outer sep=0pt,rotate=\AffCarteJeuRotation] {\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}} ;}%
- }%
- {%
- \begin{scope}[shift={(\AffCarteJeuDecalageX,\AffCarteJeuDecalageY)}]%
- \draw (0,0) node[above right=0pt,inner sep=0pt,outer sep=0pt,rotate=\AffCarteJeuRotation] {\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}} ;%
- \end{scope}%
- }%
- }%
- {%
- \rotatebox[origin=c]{\AffCarteJeuRotation}{\raisebox{-\AffCarteJeuAlignementV\height}{\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}}}%
- }%
-}
-
-%------commande main cartes
-\defKV[AffMainCartes]{%
- Hauteur=\def\MainHauteur{#1},%
- EspH=\def\MainDecalH{#1},%
- EspV=\def\MainDecalV{#1},%
- Rotation=\def\MainRotation{#1},%
- TypeJeu=\def\MainJeuType{#1},%
- AlignementV=\def\MainAlignementV{#1}
-}
-\setKVdefault[AffMainCartes]{%
- Hauteur=4.25,%
- EspH=1,%
- EspV=0,%
- Rotation=10,%
- Eventail=false,%
- TypeJeu=Poker,%
- AlignementV=0.5
-}
-
-\NewDocumentCommand\CartesJeu{ O{} m }{%1=options,2=listecartes
- \useKVdefault[AffMainCartes]%
- \setKV[AffMainCartes]{#1}%
- %calculs et traitement des variables
- \ignoreemptyitems%
- \setsepchar{§}%
- \readlist*\ListeCartesMain{#2}%
- \def\NbCartesMain{\ListeCartesMainlen}%nbcartes
- \IfStrEq{\MainJeuType}{Poker}%poker
- {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-Poker-}}{}%
- \IfStrEq{\MainJeuType}{Tarot}%tarot
- {\def\HauteurGenerique{5.5}\def\CarteMainPrefixe{CaJ-Tarot-}}{}%
- \def\EchelleCarteDecalage{\fpeval{\MainHauteur/\HauteurGenerique}}%
- %transformation valign en tikz
- \def\OptionTikzCBB{current bounding box.center}%
- \IfStrEq{\MainAlignementV}{0}%
- {\def\OptionTikzCBB{current bounding box.south}}{}%
- \IfStrEq{\MainAlignementV}{1}%
- {\def\OptionTikzCBB{current bounding box.north}}{}%
- %environnement tikzpicture
- \begin{tikzpicture}[baseline=(\OptionTikzCBB)]%
- \foreach \i in {1,2,...,\ListeCartesMainlen}{%
- \itemtomacro\ListeCartesMain[\i]\CarteMain%
- \ifboolKV[AffMainCartes]{Eventail}%
- {%
- \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
- \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
- \def\DecAngleMain{\fpeval{0.5*\NbCartesMain*\MainRotation}}%
- \AffCarteJeu[TypeJeu=\MainJeuType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageY=\MainOffset,DecalageX=\SecondOffset,Rotation={\DecAngleMain-(\i-1)*\MainRotation}]{\CarteMain}%
- }%
- {%
- \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
- \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
- \AffCarteJeu[TypeJeu=\MainJeuType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageX=\MainOffset,DecalageY=\SecondOffset]{\CarteMain}%
- }%
- }%finpour
- \end{tikzpicture}%
-}
-
-%------commande main aléatoire
-\defKV[AffMainAleaCartes]{%
- Hauteur=\def\MainHauteur{#1},%
- EspH=\def\MainDecalH{#1},%
- EspV=\def\MainDecalV{#1},%
- Rotation=\def\MainRotation{#1},%
- TypeJeu=\def\MainJeuType{#1},%
- AlignementV=\def\MainAlignementV{#1}
-}
-\setKVdefault[AffMainAleaCartes]{%
- Hauteur=4.25,%
- EspH=1,%
- EspV=0,%
- Rotation=10,%
- Eventail=false,%
- TypeJeu=Poker,%
- AlignementV=0.5
-}
-
-\xdef\CartesJeuPoker{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK}%
-\xdef\CartesJeuBelote{7P,8P,9P,10P,VP,DP,RP,AP,7T,8T,9T,10T,VT,DT,RT,AT,7C,8C,9C,10C,VC,DC,RC,AC,7K,8K,9K,10K,VK,DK,RK,AK}%
-\xdef\CartesJeuBataille{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK,JN,JR}%
-\xdef\CartesJeuTarot{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,CP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,CT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,CC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,CK,DK,RK,AK,1AT,2AT,3AT,4AT,5AT,6AT,7AT,8AT,9AT,10AT,11AT,12AT,13AT,14AT,15AT,16AT,17AT,18AT,19AT,20AT,21AT,Exc}%
-\NewList{CartesJeuMelange}
-
-\NewDocumentCommand\CartesJeuAleatoire{ O{} m }{%1=options,2=nbcartes
- \useKVdefault[AffMainAleaCartes]%
- \setKV[AffMainAleaCartes]{#1}%
- %calculs et traitement des variables
- \IfStrEq{\MainJeuType}{Poker}%poker
- {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}%
- \IfStrEq{\MainJeuType}{Bataille}%bataille
- {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}%
- \IfStrEq{\MainJeuType}{Belote}%poker
- {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}%
- \IfStrEq{\MainJeuType}{Tarot}%tarot
- {\def\HauteurGenerique{6.375}\def\CarteMainType{Tarot}\xdef\CarteDebutRand{\fpeval{randint(0,78-#2)}}}{}%
- %échelle relative des cartes
- \def\EchelleCarteDecalage{\fpeval{\MainHauteur/\HauteurGenerique}}%
- %transformation valign en tikz
- \def\OptionTikzCBB{current bounding box.center}%
- \IfStrEq{\MainAlignementV}{0}%
- {\def\OptionTikzCBB{current bounding box.south}}{}%
- \IfStrEq{\MainAlignementV}{1}%
- {\def\OptionTikzCBB{current bounding box.north}}{}%
- %melange du jeu
- \ClearList{CartesJeuMelange}%
- \IfStrEq{\MainJeuType}{Poker}%si c'est le poker
- {%
- \xintFor* ##1 in {\xintCSVtoList{\CartesJeuPoker}}%
- \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
- }%
- {}%
- \IfStrEq{\MainJeuType}{Bataille}%si c'est la bataille
- {%
- \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBataille}}%
- \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
- }%
- {}%
- \IfStrEq{\MainJeuType}{Belote}%si c'est le poker
- {%
- \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBelote}}%
- \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
- }%
- {}%
- \IfStrEq{\MainJeuType}{Tarot}%si c'est le tarot
- {%
- \xintFor* ##1 in {\xintCSVtoList{\CartesJeuTarot}}%
- \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
- }%
- {}%
- %environnement tikzpicture
- \begin{tikzpicture}[baseline=(\OptionTikzCBB)]%
- \foreach \i in {1,2,...,#2}{%
- \GetItem{CartesJeuMelange}{\inteval{\CarteDebutRand+\i-1}}{CarteMainChoisie}%
- %\itemtomacro\ListeCartesMain[\i]\CarteMain%
- \ifboolKV[AffMainAleaCartes]{Eventail}%
- {%
- \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
- \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
- \def\DecAngleMain{\fpeval{0.5*#2*\MainRotation}}%
- \AffCarteJeu[TypeJeu=\CarteMainType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageY=\MainOffset,DecalageX=\SecondOffset,Rotation={\DecAngleMain-(\i-1)*\MainRotation}]{\CarteMainChoisie}%
- }%
- {%
- \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
- \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
- \AffCarteJeu[TypeJeu=\CarteMainType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageX=\MainOffset,DecalageY=\SecondOffset]{\CarteMainChoisie}%
- }%
- }%finpour
- \end{tikzpicture}%
-}
-
-%------commande mini-cartes
-\defKV[AffMiniCartes]{%
- Largeur=\def\MiniCarteLargeur{#1},
- FondAtout=\def\MiniCarteFondAtout{#1}
-}
-\setKVdefault[AffMiniCartes]{%
- Largeur=0.55cm,%
- FondAtout=PeachPuff
-}
-
-\NewDocumentCommand\MiniCarteJeu{ O{} m }{%1=options,2=nbcartes
- \useKVdefault[AffMiniCartes]%
- \setKV[AffMiniCartes]{#1}%
- %découpage de l'argument
- \StrCut{#2}{.}\csVal\csCplt%
- %couleur de fond
- \def\csFond{White}%
- \def\csCoul{black}%
- %le cas du 10.11...21
- \IfStrEq{\csVal}{10}{\def\csVal{\scalebox{0.5}[1]{10}}}{}%
- \IfStrEq{\csVal}{11}{\def\csVal{\scalebox{0.5}[1]{11}}}{}%
- \IfStrEq{\csVal}{12}{\def\csVal{\scalebox{0.5}[1]{12}}}{}%
- \IfStrEq{\csVal}{13}{\def\csVal{\scalebox{0.5}[1]{13}}}{}%
- \IfStrEq{\csVal}{14}{\def\csVal{\scalebox{0.5}[1]{14}}}{}%
- \IfStrEq{\csVal}{15}{\def\csVal{\scalebox{0.5}[1]{15}}}{}%
- \IfStrEq{\csVal}{16}{\def\csVal{\scalebox{0.5}[1]{16}}}{}%
- \IfStrEq{\csVal}{17}{\def\csVal{\scalebox{0.5}[1]{17}}}{}%
- \IfStrEq{\csVal}{18}{\def\csVal{\scalebox{0.5}[1]{18}}}{}%
- \IfStrEq{\csVal}{19}{\def\csVal{\scalebox{0.5}[1]{19}}}{}%
- \IfStrEq{\csVal}{20}{\def\csVal{\scalebox{0.5}[1]{20}}}{}%
- \IfStrEq{\csVal}{21}{\def\csVal{\scalebox{0.5}[1]{21}}}{}%
- %le cas du Excuse
- \IfStrEq{#2}{Exc}%
- {\def\csSymb{\ding{168}}\def\csCoul{blue}%
- \def\csVal{\scalebox{0.33}[1]{EXC}}}{}%
- %le cas du Joker
- \IfStrEq{\csVal}{J}%
- {\def\csSymb{\ding{166}}\def\csVal{\scalebox{0.5}[1]{JO}}}{}%
- %si c'est un coeur
- \IfStrEq{\csCplt}{C}%
- {\def\csSymb{\ding{170}}\def\csCoul{red}}{}%
- %si c'est un carreau
- \IfStrEq{\csCplt}{K}%
- {\def\csSymb{\ding{169}}\def\csCoul{red}}{}%
- %si c'est un coeur
- \IfStrEq{\csCplt}{P}%
- {\def\csSymb{\ding{171}}}{}%
- %si c'est un trèfle
- \IfStrEq{\csCplt}{T}%
- {\def\csSymb{\ding{168}}}{}%
- %si c'est un atout 68
- \IfStrEq{\csCplt}{AT}%
- {\def\csFond{\MiniCarteFondAtout}\def\csSymb{\ding{88}}}{}%
- %si c'est un rouge
- \IfStrEq{\csCplt}{R}%
- {\def\csCoul{red}}{}%
- %minicarte
- \tikz[baseline=(char.base)]\node[anchor=north west,line width=0.7pt,draw=Gray,rectangle,rounded corners,inner sep=1.6pt,fill=\csFond,text=\csCoul,font=\ttfamily,minimum width=\MiniCarteLargeur](char){\csVal\scalebox{0.75}[0.75]{\csSymb}};%
-}
-
-%------commande mini-main-cartes
-\defKV[AffMiniMainCartes]{%
- Largeur=\def\MiniMainLargeur{#1},%
- FondAtout=\def\MiniMainFondAtout{#1}
-}
-\setKVdefault[AffMiniMainCartes]{%
- Largeur=0.55cm,%
- FondAtout=PeachPuff
-}
-
-\NewDocumentCommand\MiniCartesJeu{ O{} m }{%1=options,2=liste
- \useKVdefault[AffMiniMainCartes]%
- \setKV[AffMiniMainCartes]{#1}%
- \ignoreemptyitems%
- \setsepchar{§}%
- \readlist*\MiniCartesMain{#2}%
- \foreachitem\MiniCarteAffich\in\MiniCartesMain{%
- \MiniCarteJeu[FondAtout=\MiniMainFondAtout,Largeur=\MiniMainLargeur]{\MiniCarteAffich}%
- }%
-}
-
-%------commande mini-main aléatoire
-\defKV[MiniMainAleaCartes]{%
- Largeur=\def\MiniMainAleaLargeur{#1},%
- TypeJeu=\def\MiniMainAleaType{#1},%
- FondAtout=\def\MiniMainAleaFondAtout{#1}
-}
-\setKVdefault[MiniMainAleaCartes]{%
- Largeur=0.55cm,%
- TypeJeu=Poker,%
- FondAtout=PeachPuff
-}
-
-\xdef\MiniCartesJeuPoker{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K}%
-\xdef\MiniCartesJeuBelote{7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K}%
-\xdef\MiniCartesJeuBataille{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K,J.N,J.R}%
-\xdef\MiniCartesJeuTarot{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,C.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,C.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,C.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,C.K,D.K,R.K,A.K,1.AT,2.AT,3.AT,4.AT,5.AT,6.AT,7.AT,8.AT,9.AT,10.AT,11.AT,12.AT,13.AT,14.AT,15.AT,16.AT,17.AT,18.AT,19.AT,20.AT,21.AT,Exc}%
-\NewList{MiniCartesJeuMelange}
-
-\NewDocumentCommand\MiniCartesJeuAleatoire{ O{} m }{%1=options,2=nbcartes
- \useKVdefault[MiniMainAleaCartes]%
- \setKV[MiniMainAleaCartes]{#1}%
- %melange du jeu
- \ClearList{MiniCartesJeuMelange}%
- \IfStrEq{\MiniMainAleaType}{Poker}%si c'est le poker
- {%
- \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuPoker}}%
- \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
- }%
- {}%
- \IfStrEq{\MiniMainAleaType}{Bataille}%si c'est la bataille
- {%
- \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuBataille}}%
- \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
- }%
- {}%
- \IfStrEq{\MiniMainAleaType}{Belote}%si c'est le poker
- {%
- \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuBelote}}%
- \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
- }%
- {}%
- \IfStrEq{\MiniMainAleaType}{Tarot}%si c'est le tarot
- {%
- \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuTarot}}%
- \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
- }%
- {}%
- %création de la main
- \foreach \i in {1,2,...,#2}{%
- \GetItem{MiniCartesJeuMelange}{\inteval{\i-1}}{MiniCarteMainChoisie}%
- \MiniCarteJeu[FondAtout=\MiniMainAleaFondAtout,Largeur=\MiniMainAleaLargeur]{\MiniCarteMainChoisie}%
- }%finpour
-}
-
+% Author : C. Pierquet
+% licence : Released under the LaTeX Project Public License v1.3c
+% or later, see http://www.latex-project.org/lppl.txtf
+% Poker cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards
+% Tarot cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards
+% Uno cards Image's Licence : CC1.0 https://alexder.itch.io/uno-card-game-asset-pack
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{JeuxCartes}[2022/10/28 v0.1.3 Jeux de cartes]
+% 0.1.3 Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami
+% Amélioration de la qualité des cartes de Tarot (sans augmenter la taille)
+% 0.1.2 Modification du nom (et de la source) des images de Tarot (CC0)
+% 0.1.1 Ajout de commandes pour des mini-cartes
+% 0.1 Version initiale
+
+%------Packages utiles
+\RequirePackage{graphicx}
+\RequirePackage[table,svgnames]{xcolor}
+\RequirePackage{tikz}
+\RequirePackage{pgffor}
+\RequirePackage{xfp}
+\RequirePackage{listofitems}
+\RequirePackage{xstring}
+\RequirePackage{xparse}
+\RequirePackage{simplekv}
+\RequirePackage{xinttools}
+\RequirePackage{randomlist}
+\RequirePackage{pifont}
+%librairies tikz
+\usetikzlibrary{calc,scopes}
+%images venant de https://github.com/htdebeer/SVG-cards
+%images venant de https://freesvg.org/deck-of-french-tarot-playing-cards
+%images venant de https://alexder.itch.io/uno-card-game-asset-pack
+
+%------Commande en ligne (includegraphics) via raisebox/rotatebox ou tikz
+\defKV[AffCarteJeu]{%
+ Hauteur=\def\AffCarteJeuHauteur{#1},%
+ DecalageX=\def\AffCarteJeuDecalageX{#1},%
+ DecalageY=\def\AffCarteJeuDecalageY{#1},%
+ Rotation=\def\AffCarteJeuRotation{#1},%
+ AlignementV=\def\AffCarteJeuAlignementV{#1},%
+ TypeJeu=\def\AffCarteJeuType{#1}
+}
+\setKVdefault[AffCarteJeu]{%
+ Hauteur=4.25,%
+ Tikz=false,%pour placer la commande dans un environnement tikz ou en raisebox,
+ TikzAutonome=true,%pour déjà mettre l'image dans du tikz
+ DecalageX=0,%
+ DecalageY=0,%
+ Rotation=0,%
+ AlignementV=0.5,%
+ TypeJeu=Poker
+}
+
+\NewDocumentCommand\AffCarteJeu{ O{} m }{%1=options,2=cartenommée
+ \useKVdefault[AffCarteJeu]%
+ \setKV[AffCarteJeu]{#1}%
+ %cas poker
+ \IfStrEq{\AffCarteJeuType}{Poker}%poker
+ {\def\CartePrefixe{CaJ-Poker-}}{}%
+ %cas tarot
+ \IfStrEq{\AffCarteJeuType}{Tarot}%tarot
+ {\def\CartePrefixe{CaJ-Tarot-}}{}%
+ %cas tarot
+ \IfStrEq{\AffCarteJeuType}{Uno}%tarot
+ {\def\CartePrefixe{CaJ-Uno-}}{}%
+ %transformation valign en tikz
+ \def\OptionTikzCBB{current bounding box.center}%
+ \IfStrEq{\AffCarteJeuAlignementV}{0}%
+ {\def\OptionTikzCBB{current bounding box.south}}{}%
+ \IfStrEq{\AffCarteJeuAlignementV}{1}%
+ {\def\OptionTikzCBB{current bounding box.north}}{}%
+ %affichage
+ \ifboolKV[AffCarteJeu]{Tikz}%
+ {%
+ \ifboolKV[AffCarteJeu]{TikzAutonome}%
+ {%
+ {\tikz[baseline=(\OptionTikzCBB)] \draw (\AffCarteJeuDecalageX,\AffCarteJeuDecalageY) node[above right=0pt,inner sep=0pt,outer sep=0pt,rotate=\AffCarteJeuRotation] {\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}} ;}%
+ }%
+ {%
+ \begin{scope}[shift={(\AffCarteJeuDecalageX,\AffCarteJeuDecalageY)}]%
+ \draw (0,0) node[above right=0pt,inner sep=0pt,outer sep=0pt,rotate=\AffCarteJeuRotation] {\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}} ;%
+ \end{scope}%
+ }%
+ }%
+ {%
+ \rotatebox[origin=c]{\AffCarteJeuRotation}{\raisebox{-\AffCarteJeuAlignementV\height}{\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}}}%
+ }%
+}
+
+%------commande main simple (cartes côte à côte)
+\defKV[AffMainSimpleCartes]{%
+ Hauteur=\def\MainSimpleHauteur{#1},%
+ TypeJeu=\def\MainSimpleJeuType{#1}
+}
+\setKVdefault[AffMainSimpleCartes]{%
+ Hauteur=4.25,%
+ TypeJeu=Poker
+}
+
+\NewDocumentCommand\AffCartesJeu{ O{} m }{%1=options,2=listecartes
+ \useKVdefault[AffMainSimpleCartes]%
+ \setKV[AffMainSimpleCartes]{#1}%
+ %calculs et traitement des variables
+ \setsepchar{§}%
+ \readlist*\ListeCartesMain{#2}%
+ \def\NbCartesMain{\ListeCartesMainlen}%nbcartes
+ %main côte à côte
+ \foreach \i in {1,2,...,\ListeCartesMainlen}{%
+ \itemtomacro\ListeCartesMain[\i]\CarteMain%
+ \AffCarteJeu[TypeJeu=\MainSimpleJeuType,Hauteur=\MainSimpleHauteur]{\CarteMain}%
+ }%
+}
+
+%------commande main cartes
+\defKV[AffMainCartes]{%
+ Hauteur=\def\MainHauteur{#1},%
+ EspH=\def\MainDecalH{#1},%
+ EspV=\def\MainDecalV{#1},%
+ Rotation=\def\MainRotation{#1},%
+ TypeJeu=\def\MainJeuType{#1},%
+ AlignementV=\def\MainAlignementV{#1}
+}
+\setKVdefault[AffMainCartes]{%
+ Hauteur=4.25,%
+ EspH=1,%
+ EspV=0,%
+ Rotation=10,%
+ Eventail=false,%
+ TypeJeu=Poker,%
+ AlignementV=0.5
+}
+
+\NewDocumentCommand\MainCartesJeu{ O{} m }{%1=options,2=listecartes
+ \useKVdefault[AffMainCartes]%
+ \setKV[AffMainCartes]{#1}%
+ %calculs et traitement des variables
+ \ignoreemptyitems%
+ \setsepchar{§}%
+ \readlist*\ListeCartesMain{#2}%
+ \def\NbCartesMain{\ListeCartesMainlen}%nbcartes
+ \IfStrEq{\MainJeuType}{Poker}%poker
+ {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-Poker-}}{}%
+ \IfStrEq{\MainJeuType}{Tarot}%tarot
+ {\def\HauteurGenerique{5.5}\def\CarteMainPrefixe{CaJ-Tarot-}}{}%
+ \IfStrEq{\MainJeuType}{Uno}%uno
+ {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-Uno-}}{}%
+ %echelle globale
+ \def\EchelleCarteDecalage{\fpeval{\MainHauteur/\HauteurGenerique}}%
+ %transformation valign en tikz
+ \def\OptionTikzCBB{current bounding box.center}%
+ \IfStrEq{\MainAlignementV}{0}%
+ {\def\OptionTikzCBB{current bounding box.south}}{}%
+ \IfStrEq{\MainAlignementV}{1}%
+ {\def\OptionTikzCBB{current bounding box.north}}{}%
+ %environnement tikzpicture
+ \begin{tikzpicture}[baseline=(\OptionTikzCBB)]%
+ \foreach \i in {1,2,...,\ListeCartesMainlen}{%
+ \itemtomacro\ListeCartesMain[\i]\CarteMain%
+ \ifboolKV[AffMainCartes]{Eventail}%
+ {%
+ \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
+ \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
+ \def\DecAngleMain{\fpeval{0.5*\NbCartesMain*\MainRotation}}%
+ \AffCarteJeu[TypeJeu=\MainJeuType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageY=\MainOffset,DecalageX=\SecondOffset,Rotation={\DecAngleMain-(\i-1)*\MainRotation}]{\CarteMain}%
+ }%
+ {%
+ \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
+ \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
+ \AffCarteJeu[TypeJeu=\MainJeuType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageX=\MainOffset,DecalageY=\SecondOffset]{\CarteMain}%
+ }%
+ }%finpour
+ \end{tikzpicture}%
+}
+
+%------commande main aléatoire
+\defKV[AffMainAleaCartes]{%
+ Hauteur=\def\MainHauteur{#1},%
+ EspH=\def\MainDecalH{#1},%
+ EspV=\def\MainDecalV{#1},%
+ Rotation=\def\MainRotation{#1},%
+ TypeJeu=\def\MainJeuType{#1},%
+ AlignementV=\def\MainAlignementV{#1}
+}
+\setKVdefault[AffMainAleaCartes]{%
+ Hauteur=4.25,%
+ EspH=1,%
+ EspV=0,%
+ Rotation=10,%
+ Eventail=false,%
+ TypeJeu=Poker,%
+ AlignementV=0.5
+}
+
+\xdef\CartesJeuPoker{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK}%
+\xdef\CartesJeuBelote{7P,8P,9P,10P,VP,DP,RP,AP,7T,8T,9T,10T,VT,DT,RT,AT,7C,8C,9C,10C,VC,DC,RC,AC,7K,8K,9K,10K,VK,DK,RK,AK}%
+\xdef\CartesJeuBataille{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK,JN,JR}%
+\xdef\CartesJeuRami{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK,JN,JR,2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK,JN,JR}%
+\xdef\CartesJeuTarot{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,CP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,CT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,CC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,CK,DK,RK,AK,1AT,2AT,3AT,4AT,5AT,6AT,7AT,8AT,9AT,10AT,11AT,12AT,13AT,14AT,15AT,16AT,17AT,18AT,19AT,20AT,21AT,Exc}%
+\xdef\CartesJeuUno{0B,1B,1B,2B,2B,3B,3B,4B,4B,5B,5B,6B,6B,7B,7B,8B,8B,9B,9B,PTB,PTB,CSB,CSB,P2B,P2B,0V,1V,1V,2V,2V,3V,3V,4V,4V,5V,5V,6V,6V,7V,7V,8V,8V,9V,9V,PTV,PTV,CSV,CSV,P2V,P2V,0J,1J,1J,2J,2J,3J,3J,4J,4J,5J,5J,6J,6J,7J,7J,8J,8J,9J,9J,PTJ,PTJ,CSJ,CSJ,P2J,P2J,0R,1R,1R,2R,2R,3R,3R,4R,4R,5R,5R,6R,6R,7R,7R,8R,8R,9R,9R,PTR,PTR,CSR,CSR,P2R,P2R,P4,P4,P4,P4,Coul,Coul,Coul,Coul}%
+\NewList{CartesJeuMelange}
+
+\NewDocumentCommand\MainCartesJeuAleatoire{ O{} m }{%1=options,2=nbcartes
+ \useKVdefault[AffMainAleaCartes]%
+ \setKV[AffMainAleaCartes]{#1}%
+ %calculs et traitement des variables
+ \IfStrEq{\MainJeuType}{Poker}%poker
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Uno}%uno
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Uno}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Bataille}%bataille
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Belote}%poker
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Rami}%rami
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Tarot}%tarot
+ {\def\HauteurGenerique{6.375}\def\CarteMainType{Tarot}\xdef\CarteDebutRand{\fpeval{randint(0,78-#2)}}}{}%
+ %échelle relative des cartes
+ \def\EchelleCarteDecalage{\fpeval{\MainHauteur/\HauteurGenerique}}%
+ %transformation valign en tikz
+ \def\OptionTikzCBB{current bounding box.center}%
+ \IfStrEq{\MainAlignementV}{0}%
+ {\def\OptionTikzCBB{current bounding box.south}}{}%
+ \IfStrEq{\MainAlignementV}{1}%
+ {\def\OptionTikzCBB{current bounding box.north}}{}%
+ %melange du jeu
+ \ClearList{CartesJeuMelange}%
+ \IfStrEq{\MainJeuType}{Poker}%si c'est le poker
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuPoker}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MainJeuType}{Bataille}%si c'est la bataille
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBataille}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MainJeuType}{Rami}%si c'est le rami
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuRami}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MainJeuType}{Uno}%si c'est le uno
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuUno}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MainJeuType}{Belote}%si c'est le poker
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBelote}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MainJeuType}{Tarot}%si c'est le tarot
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuTarot}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
+ %environnement tikzpicture
+ \begin{tikzpicture}[baseline=(\OptionTikzCBB)]%
+ \foreach \i in {1,2,...,#2}{%
+ \GetItem{CartesJeuMelange}{\inteval{\CarteDebutRand+\i-1}}{CarteMainChoisie}%
+ %\itemtomacro\ListeCartesMain[\i]\CarteMain%
+ \ifboolKV[AffMainAleaCartes]{Eventail}%
+ {%
+ \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
+ \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
+ \def\DecAngleMain{\fpeval{0.5*#2*\MainRotation}}%
+ \AffCarteJeu[TypeJeu=\CarteMainType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageY=\MainOffset,DecalageX=\SecondOffset,Rotation={\DecAngleMain-(\i-1)*\MainRotation}]{\CarteMainChoisie}%
+ }%
+ {%
+ \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}%
+ \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}%
+ \AffCarteJeu[TypeJeu=\CarteMainType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageX=\MainOffset,DecalageY=\SecondOffset]{\CarteMainChoisie}%
+ }%
+ }%finpour
+ \end{tikzpicture}%
+}
+
+%------commande mini-cartes
+\defKV[AffMiniCartes]{%
+ Largeur=\def\MiniCarteLargeur{#1},
+ FondAtout=\def\MiniCarteFondAtout{#1}
+}
+\setKVdefault[AffMiniCartes]{%
+ Largeur=0.55cm,%
+ FondAtout=PeachPuff
+}
+
+\NewDocumentCommand\AffMiniCarteJeu{ O{} m }{%1=options,2=nbcartes
+ \useKVdefault[AffMiniCartes]%
+ \setKV[AffMiniCartes]{#1}%
+ %découpage de l'argument
+ \StrCut{#2}{.}\csVal\csCplt%
+ %couleur de fond
+ \def\csFond{White}%
+ \def\csCoul{black}%
+ %le cas du 10.11...21
+ \IfStrEq{\csVal}{10}{\def\csVal{\scalebox{0.5}[1]{10}}}{}%
+ \IfStrEq{\csVal}{11}{\def\csVal{\scalebox{0.5}[1]{11}}}{}%
+ \IfStrEq{\csVal}{12}{\def\csVal{\scalebox{0.5}[1]{12}}}{}%
+ \IfStrEq{\csVal}{13}{\def\csVal{\scalebox{0.5}[1]{13}}}{}%
+ \IfStrEq{\csVal}{14}{\def\csVal{\scalebox{0.5}[1]{14}}}{}%
+ \IfStrEq{\csVal}{15}{\def\csVal{\scalebox{0.5}[1]{15}}}{}%
+ \IfStrEq{\csVal}{16}{\def\csVal{\scalebox{0.5}[1]{16}}}{}%
+ \IfStrEq{\csVal}{17}{\def\csVal{\scalebox{0.5}[1]{17}}}{}%
+ \IfStrEq{\csVal}{18}{\def\csVal{\scalebox{0.5}[1]{18}}}{}%
+ \IfStrEq{\csVal}{19}{\def\csVal{\scalebox{0.5}[1]{19}}}{}%
+ \IfStrEq{\csVal}{20}{\def\csVal{\scalebox{0.5}[1]{20}}}{}%
+ \IfStrEq{\csVal}{21}{\def\csVal{\scalebox{0.5}[1]{21}}}{}%
+ %le cas du Excuse
+ \IfStrEq{#2}{Exc}%
+ {\def\csSymb{\ding{168}}\def\csCoul{blue}%
+ \def\csVal{\scalebox{0.33}[1]{EXC}}}{}%
+ %le cas du Joker
+ \IfStrEq{\csVal}{J}%
+ {\def\csSymb{\ding{166}}\def\csVal{\scalebox{0.5}[1]{JO}}}{}%
+ %si c'est un coeur
+ \IfStrEq{\csCplt}{C}%
+ {\def\csSymb{\ding{170}}\def\csCoul{red}}{}%
+ %si c'est un carreau
+ \IfStrEq{\csCplt}{K}%
+ {\def\csSymb{\ding{169}}\def\csCoul{red}}{}%
+ %si c'est un coeur
+ \IfStrEq{\csCplt}{P}%
+ {\def\csSymb{\ding{171}}}{}%
+ %si c'est un trèfle
+ \IfStrEq{\csCplt}{T}%
+ {\def\csSymb{\ding{168}}}{}%
+ %si c'est un atout 68
+ \IfStrEq{\csCplt}{AT}%
+ {\def\csFond{\MiniCarteFondAtout}\def\csSymb{\ding{88}}}{}%
+ %si c'est un rouge
+ \IfStrEq{\csCplt}{R}%
+ {\def\csCoul{red}}{}%
+ %minicarte
+ \tikz[baseline=(char.base)]\node[anchor=north west,line width=0.7pt,draw=Gray,rectangle,rounded corners,inner sep=1.6pt,fill=\csFond,text=\csCoul,font=\ttfamily,minimum width=\MiniCarteLargeur](char){\csVal\scalebox{0.75}[0.75]{\csSymb}};%
+}
+
+%------commande mini-main-cartes
+\defKV[AffMiniMainCartes]{%
+ Largeur=\def\MiniMainLargeur{#1},%
+ FondAtout=\def\MiniMainFondAtout{#1}
+}
+\setKVdefault[AffMiniMainCartes]{%
+ Largeur=0.55cm,%
+ FondAtout=PeachPuff
+}
+
+\NewDocumentCommand\MainMiniCartesJeu{ O{} m }{%1=options,2=liste
+ \useKVdefault[AffMiniMainCartes]%
+ \setKV[AffMiniMainCartes]{#1}%
+ \ignoreemptyitems%
+ \setsepchar{§}%
+ \readlist*\MiniCartesMain{#2}%
+ \foreachitem\MiniCarteAffich\in\MiniCartesMain{%
+ \AffMiniCarteJeu[FondAtout=\MiniMainFondAtout,Largeur=\MiniMainLargeur]{\MiniCarteAffich}%
+ }%
+}
+
+%------commande mini-main aléatoire
+\defKV[MiniMainAleaCartes]{%
+ Largeur=\def\MiniMainAleaLargeur{#1},%
+ TypeJeu=\def\MiniMainAleaType{#1},%
+ FondAtout=\def\MiniMainAleaFondAtout{#1}
+}
+\setKVdefault[MiniMainAleaCartes]{%
+ Largeur=0.55cm,%
+ TypeJeu=Poker,%
+ FondAtout=PeachPuff
+}
+
+\xdef\MiniCartesJeuPoker{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K}%
+\xdef\MiniCartesJeuBelote{7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K}%
+\xdef\MiniCartesJeuBataille{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K,J.N,J.R}%
+\xdef\MiniCartesJeuTarot{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,C.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,C.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,C.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,C.K,D.K,R.K,A.K,1.AT,2.AT,3.AT,4.AT,5.AT,6.AT,7.AT,8.AT,9.AT,10.AT,11.AT,12.AT,13.AT,14.AT,15.AT,16.AT,17.AT,18.AT,19.AT,20.AT,21.AT,Exc}%
+\xdef\MiniCartesJeuRami{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K,J.N,J.R,2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K,J.N,J.R}%
+\NewList{MiniCartesJeuMelange}
+
+\NewDocumentCommand\MainMiniCartesJeuAleatoire{ O{} m }{%1=options,2=nbcartes
+ \useKVdefault[MiniMainAleaCartes]%
+ \setKV[MiniMainAleaCartes]{#1}%
+ %melange du jeu
+ \ClearList{MiniCartesJeuMelange}%
+ \IfStrEq{\MiniMainAleaType}{Poker}%si c'est le poker
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuPoker}}%
+ \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MiniMainAleaType}{Bataille}%si c'est la bataille
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuBataille}}%
+ \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MiniMainAleaType}{Belote}%si c'est le belote
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuBelote}}%
+ \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MiniMainAleaType}{Tarot}%si c'est le tarot
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuTarot}}%
+ \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
+ }%
+ {}%
+ \IfStrEq{\MiniMainAleaType}{Rami}%si c'est le rami
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuRami}}%
+ \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}%
+ }%
+ {}%
+ %création de la main
+ \foreach \i in {1,2,...,#2}{%
+ \GetItem{MiniCartesJeuMelange}{\inteval{\i-1}}{MiniCarteMainChoisie}%
+ \AffMiniCarteJeu[FondAtout=\MiniMainAleaFondAtout,Largeur=\MiniMainAleaLargeur]{\MiniCarteMainChoisie}%
+ }%finpour
+}
+
\endinput \ No newline at end of file