summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-26 21:08:34 +0000
committerKarl Berry <karl@freefriends.org>2023-02-26 21:08:34 +0000
commit50ad4a1b03a5cb49b4e3afd5dc983f163e07fe55 (patch)
tree194c9193fec148b848b23991ec299b8aa65bafe0
parent4824d989b16555689652521e4b0c8543069ff1de (diff)
jeuxcartes (26feb23)
git-svn-id: svn://tug.org/texlive/trunk@66190 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdfbin6204530 -> 6310183 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex106
-rw-r--r--Master/texmf-dist/doc/latex/jeuxcartes/README.md11
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdfbin2281 -> 2283 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10C.pdfbin0 -> 2415 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10K.pdfbin0 -> 2067 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10P.pdfbin0 -> 3078 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10T.pdfbin0 -> 4703 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2C.pdfbin0 -> 1784 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2K.pdfbin0 -> 1663 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2P.pdfbin0 -> 1979 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2T.pdfbin0 -> 2520 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3C.pdfbin0 -> 1905 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3K.pdfbin0 -> 1755 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3P.pdfbin0 -> 2150 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3T.pdfbin0 -> 2831 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4C.pdfbin0 -> 1886 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4K.pdfbin0 -> 1705 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4P.pdfbin0 -> 2199 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4T.pdfbin0 -> 3027 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5C.pdfbin0 -> 2070 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5K.pdfbin0 -> 1858 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5P.pdfbin0 -> 2466 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5T.pdfbin0 -> 3495 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6C.pdfbin0 -> 2162 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6K.pdfbin0 -> 1934 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6P.pdfbin0 -> 2586 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6T.pdfbin0 -> 3662 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7C.pdfbin0 -> 2129 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7K.pdfbin0 -> 1865 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7P.pdfbin0 -> 2639 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7T.pdfbin0 -> 3893 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8C.pdfbin0 -> 2369 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8K.pdfbin0 -> 2084 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8P.pdfbin0 -> 2957 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8T.pdfbin0 -> 4365 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9C.pdfbin0 -> 2412 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9K.pdfbin0 -> 2101 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9P.pdfbin0 -> 3018 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9T.pdfbin0 -> 4498 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AC.pdfbin0 -> 1682 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AK.pdfbin0 -> 1584 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AP.pdfbin0 -> 1817 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AT.pdfbin0 -> 2212 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DC.pdfbin0 -> 1737 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DK.pdfbin0 -> 1669 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DP.pdfbin0 -> 1790 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DT.pdfbin0 -> 1992 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosNoir.pdfbin0 -> 5951 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosRouge.pdfbin0 -> 5697 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JN.pdfbin0 -> 5084 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JR.pdfbin0 -> 5082 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RC.pdfbin0 -> 1731 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RK.pdfbin0 -> 1663 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RP.pdfbin0 -> 1783 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RT.pdfbin0 -> 1992 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VC.pdfbin0 -> 1633 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VK.pdfbin0 -> 1560 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VP.pdfbin0 -> 1683 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VT.pdfbin0 -> 1889 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/CaJ-UnOv1-Dos.pdfbin0 -> 6481 bytes
-rw-r--r--Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty81
62 files changed, 131 insertions, 67 deletions
diff --git a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf
index dc600f8bb10..c67a9202b5e 100644
--- a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf
+++ b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex
index 6273a6bbeed..3ac8a728025 100644
--- a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex
+++ b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex
@@ -69,8 +69,8 @@
\setlength{\parindent}{0pt}
\definecolor{LightGray}{gray}{0.9}
-\def\TPversion{0.2.2a}
-\def\TPdate{22 Février 2023}
+\def\TPversion{0.2.3}
+\def\TPdate{25 Février 2023}
\usepackage[most]{tcolorbox}
\usepackage[outputdir=build]{minted}
@@ -195,21 +195,23 @@ Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main
\part{Historique}
+{\small \bverb|v0.2.3 |~:~~~~Ajout d'une clé \textsf{inverse} + dos Uno + style v5 pour le Poker
+
{\small \bverb|v0.2.2a|~:~~~~Ajout d'un style v4 pour le Poker
-{\small \bverb|v0.2.1|~:~~~~Correction du nom d'une carte pokerv1...
+{\small \bverb|v0.2.1 |~:~~~~Correction du nom d'une carte Poker (v1)...
-{\small \bverb|v0.2.0|~:~~~~Modification du design des cartes (pdf pour Poker/Uno + png pour Tarot) + alternatives pour le Poker
+{\small \bverb|v0.2.0 |~:~~~~Modification du design des cartes (pdf pour Poker/Uno + png pour Tarot) + alternatives pour le Poker
-{\small \bverb|v0.1.4|~:~~~~Réduction de la taille des images \texttt{png}
+{\small \bverb|v0.1.4 |~:~~~~Réduction de la taille des images \texttt{png}
-{\small \bverb|v0.1.3|~:~~~~Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami
+{\small \bverb|v0.1.3 |~:~~~~Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami
-{\small \bverb|v0.1.2|~:~~~~Modification du nom (et de la source) des images de Tarot (CC0)
+{\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
+{\small \bverb|v0.1.1 |~:~~~~Ajout de commandes pour des mini-cartes
-{\small \bverb|v0.1 |~:~~~~Version initiale
+{\small \bverb|v0.1 |~:~~~~Version initiale
\vfill~
@@ -222,21 +224,18 @@ Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main
\subsection{\og Philosophie \fg{} du package}
\begin{codeidee}
-L'idée de ce package est de proposer, comme le fait \ctex{pst-poker}, des commandes pour intégrer des cartes de poker dans un document \LaTeX.
+L'idée de ce package est de proposer, comme le fait \ctex{pst-poker}, des commandes pour intégrer des cartes à jouer dans un document \LaTeX.
Les cartes disponibles sont : :
%
\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{Uno} (édité par Mattel\texttrademark) sous licence CC0, du site \url{https://alexder.itch.io/uno-card-game-asset-pack}.
\item les cartes type \textsf{Poker v1} (Licence : LGPL-2.1 license) \url{https://github.com/htdebeer/SVG-cards}
\item les cartes type \textsf{Poker v2} (Licence : Public Domain) \url{https://tekeye.uk/playing_cards/svg-playing-cards}
\item les cartes type \textsf{Poker v3} (Licence : Public Domain) \url{https://www.me.uk/cards/}
\item les cartes type \textsf{Poker v4} (Licence : CC BY-SA 4.0) \url{https://commons.wikimedia.org/wiki/File:Computer_screen_playing_cards_deck.svg}
+ \item les cartes type \textsf{Poker v5} (Licence : Public Domain) \url{https://www.me.uk/cards/}
\item les cartes type \textsf{Tarot} (Licence : Public Domain) \url{https://freesvg.org/deck-of-french-tarot-playing-cards}
\item les cartes type \textsf{Uno} (Licence : MIT License) \url{https://eperezcosano.github.io/uno-part1/}
- % Uno v2 cards Image's Licence : CC1.0 https://alexder.itch.io/uno-card-game-asset-pack
\end{itemize}
\end{codeidee}
@@ -266,7 +265,7 @@ Les images utiles sont proposées en format \textsf{pdf} pour les cartes type \t
\smallskip
-Les fichiers \textsf{eps} ne sont pas intégrées dans le package, mais elles sont disponible sur le dépôt \textsf{github} \url{https://github.com/cpierquet/JeuxCartes}.
+Les fichiers \textsf{eps} ne sont pas intégrés dans le package, mais elles sont disponibles sur le dépôt \textsf{github} \url{https://github.com/cpierquet/JeuxCartes}.
\smallskip
@@ -324,8 +323,8 @@ Les \textsf{codes} seront présentés dans des \textsf{boîtes} \textcolor{red!7
Les \textit{Jeux} disponibles sont :
\begin{itemize}
- \item \Cle{Poker}, \Cle{Pokerv2}, \Cle{Pokerv3}, \Cle{Pokerv4}, \Cle{Tarot} et \Cle{Uno} pour l'affichage des cartes ;
- \item \Cle{Poker}, \Cle{Pokerv2}, \Cle{Pokerv3}, \Cle{Pokerv4}, \Cle{Tarot}, \Cle{Bataille}, \Cle{Rami}, \Cle{Belote} et \Cle{Uno} pour les mains aléatoires ;
+ \item \Cle{Poker(vX)}, \Cle{Tarot} et \Cle{Uno} pour l'affichage des cartes ;
+ \item \Cle{Poker(vX)}, \Cle{Bataille(vX)}, \Cle{Rami(vX)}, \Cle{Belote(vX)}, \Cle{Tarot} et \Cle{Uno} pour les mains aléatoires ;
\item \Cle{Poker} et \Cle{Tarot} pour les \textit{mini-}cartes.
\end{itemize}
\end{codeinfo}
@@ -364,7 +363,7 @@ Les \textit{Jeux} disponibles sont :
\begin{codeinfo}
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.
+La commande \ctex{AffCartesJeu} affiche une liste de cartes en mode \textit{côte à côte}, avec un système de clés/options.
\end{codeinfo}
\begin{codetex}[]
@@ -372,7 +371,7 @@ La commande \ctex{AffCartesJeu} affiche une liste de cartes ne mode \textit{côt
\AffCarteJeu[TypeJeu=Tarot]{VP}\AffCarteJeu[TypeJeu=Tarot]{Dos}%
\AffCarteJeu[TypeJeu=Tarot]{Exc}\AffCarteJeu[TypeJeu=Tarot]{1AT}%
\AffCarteJeu[TypeJeu=Tarot]{10K}\AffCarteJeu[TypeJeu=Tarot]{18AT}\\ \\
-\AffCartesJeu[TypeJeu=Uno]{P4 § PTR § Coul § 7B § 8V}
+\AffCartesJeu[TypeJeu=Uno]{P4 § PTR § Dos § Coul § 7B § 8V}
\end{codetex}
\subsection{Noms de cartes}
@@ -411,7 +410,7 @@ est fixé suivant le modèle suivant (typiquement \texttt{<hauteur>.<couleur>} )
\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}
+ \item \texttt{Dos}\dotfill\Cle{Dos}
\end{itemize}
\end{itemize}
\end{codeinfo}
@@ -428,7 +427,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{PokerXXX} ou \Cle{Tarot} ou \Cle{Uno}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker}
+ \item la clé \Cle{TypeJeu} (parmi \Cle{Poker(vX)} 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}
@@ -467,16 +466,17 @@ On obtient la main \AffCartesJeu[Hauteur=2,TypeJeu=Uno]{9B § 8R § P2J § P4 §
\pagebreak
-\subsection{Designs disponibles pour les cartes classiques}
+\subsection{Designs disponibles pour les cartes classiques (Poker)}
\begin{codeinfo}
-Il existe 4 versions de designs des cartes \textit{classiques}, accessibles via les clés :
+Il existe 5 versions de design des cartes \textit{classiques}, accessibles via les clés :
\begin{itemize}
\item \Cle{Poker} ;
\item \Cle{Pokerv2} ;
\item \Cle{Pokerv3} ;
- \item \Cle{Pokerv4}.
+ \item \Cle{Pokerv4} ;
+ \item \Cle{Pokerv5}.
\end{itemize}
\end{codeinfo}
@@ -489,6 +489,8 @@ Il existe 4 versions de designs des cartes \textit{classiques}, accessibles via
\AffCartesJeu[Hauteur=2,TypeJeu=Pokerv3]{DK § AP § 10T § VP § 8T § RT § 9C} \\ \\
\textbf{Design v4} :\\
\AffCartesJeu[Hauteur=2,TypeJeu=Pokerv4]{DK § AP § 10T § VP § 8T § RT § 9C} \\ \\
+\textbf{Design v5} :\\
+\AffCartesJeu[Hauteur=2,TypeJeu=Pokerv5]{DK § AP § 10T § VP § 8T § RT § 9C} \\
\end{codetex}
\pagebreak
@@ -522,12 +524,13 @@ 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{PokerXXX} ou \Cle{Tarot} ou \Cle{Uno}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker}
+ \item la clé \Cle{TypeJeu} (parmi \Cle{Poker(vX)} 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}
\item la clé \Cle{Rotation} pour l'angle entre les cartes en mode \Cle{Eventail} ; \hfill{}défaut \Cle{10}
- \item la clé \Cle{AlignementV} pour l'alignement vertical lié à \TikZ{}\hfill{}défaut \Cle{0.5}
+ \item la clé \Cle{AlignementV} pour l'alignement vertical lié à \TikZ{} ;\hfill{}défaut \Cle{0.5}
+ \item le booléen \Cle{Inverse} pour une présentation de \frquote{droite à gauche}.\hfill{}défaut \Cle{false}
\end{itemize}
\end{codecles}
@@ -560,7 +563,7 @@ Les exemples proposés dans cette documentation permettent de se rendre compte d
\smallskip
-Ça c'est une belle poignée ! \MainCartesJeu[Eventail,Hauteur=3,TypeJeu=Tarot,EspH=0,EspV=0.1]%
+Ça c'est une belle poignée ! \MainCartesJeu[Inverse,Eventail,Hauteur=3,TypeJeu=Tarot,EspH=0,EspV=0.1]%
{Exc § 1AT § 2AT § 3AT § 4AT § 5AT § 6AT § %
10AT § 11AT § 15AT § 16AT § 19AT § 20AT § 21AT}
@@ -597,12 +600,13 @@ 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{PokerXXX} ou \Cle{Tarot} ou \Cle{Belote} ou \Cle{Bataille} ou \Cle{Rami} ou \Cle{Uno}) ; \hfill{}défaut \Cle{Poker}
+ \item la clé \Cle{TypeJeu} (parmi \Cle{Poker(vX)} ou \Cle{Belote(vX)} ou \Cle{Bataille(vX)} ou \Cle{Rami(vX)} ou \Cle{Uno} ou \Cle{Tarot}) ; \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}
\item la clé \Cle{Rotation} pour l'angle entre les cartes en mode \Cle{Eventail} ; \hfill{}défaut \Cle{10}
- \item la clé \Cle{AlignementV} pour l'alignement vertical lié à \TikZ{}\hfill{}défaut \Cle{0.5}
+ \item la clé \Cle{AlignementV} pour l'alignement vertical lié à \TikZ{} ;\hfill{}défaut \Cle{0.5}
+ \item le booléen \Cle{Inverse} pour une présentation de \frquote{droite à gauche}.\hfill{}défaut \Cle{false}
\end{itemize}
\end{codecles}
@@ -610,10 +614,10 @@ Les \Cle{options} sont les suivantes :
En ce qui concerne les \textit{jeux} disponibles (non modifiables) :
\begin{itemize}
- \item \Cle{Poker} ou \Cle{Pokerv2} ou \Cle{Pokerv3} ou \Cle{Pokerv4} : 52 cartes (sans Joker) ;
- \item \Cle{Belote} ou \Cle{Belotev2} ou \Cle{Belotev3} ou \Cle{Belotev4} : 32 cartes (sans Joker) ;
- \item \Cle{Bataille} ou \Cle{Bataillev2} ou \Cle{Bataillev3} ou \Cle{Bataillev4} : 54 cartes (avec Jokers) ;
- \item \Cle{Rami} ou \Cle{Ramiv2} ou \Cle{Ramiv3} ou \Cle{Ramiv4} : 108 cartes (avec Jokers) ;
+ \item \Cle{Poker(vX)} : 52 cartes (sans Joker) ;
+ \item \Cle{Belote(vX)} : 32 cartes (sans Joker) ;
+ \item \Cle{Bataille(vX)} : 54 cartes (avec Jokers) ;
+ \item \Cle{Rami(vX)} : 108 cartes (avec Jokers) ;
\item \Cle{Tarot} : 78 cartes ;
\item \Cle{Uno}.
\end{itemize}
@@ -622,12 +626,12 @@ En ce qui concerne les \textit{jeux} disponibles (non modifiables) :
\pagebreak
\begin{codetex}[]
-\textbf{\large Belote v1 \& Belote v2 :} \\ \\
-\MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Belote]{8} ou \MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Belotev2]{8}.\\ \\
+\textbf{\large Belote v1 \& Belote v4 \& Belote v5 :} \\ \\
+\MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Belote]{8} ou \MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Belotev4]{8} ou \MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Belotev5]{8}.\\ \\
\textbf{\large Poker v1 \& Poker v3 :} \\ \\
\MainCartesJeuAleatoire[Hauteur=2.5,Eventail,EspH=0,EspV=0.1]{5} ou \MainCartesJeuAleatoire[Hauteur=2.5,Eventail,EspH=0,EspV=0.1,TypeJeu=Pokerv3]{5}.\\ \\
-\textbf{\large Bataille v1 :} \\ \\
-\MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Bataille]{27}\\ \\
+\textbf{\large Bataille v2 :} \\ \\
+\MainCartesJeuAleatoire[Hauteur=2.5,TypeJeu=Bataillev2]{27}\\ \\
\textbf{\large Tarot :} \\
\MainCartesJeuAleatoire[Hauteur=3.25,TypeJeu=Tarot]{10} ou~
\MainCartesJeuAleatoire[Hauteur=3.25,Eventail,TypeJeu=Tarot,EspH=0,EspV=0.1]{10}.
@@ -747,7 +751,7 @@ Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus
\section{Cartes disponibles}
-\subsection{Poker/Bataille/Belote (v1)}
+\subsection{Poker/Bataille/Belote/Rami (v1)}
Dos disponibles : \texttt{Dos}
@@ -764,7 +768,7 @@ Dos disponibles : \texttt{Dos}
\AffCarteJeu[Hauteur=1.85]{JN}\AffCarteJeu[Hauteur=1.85]{JR}\AffCarteJeu[Hauteur=1.85]{Dos}%
%\xintFor #1 in {Bleu,BleuVert,Fuchsia,Gris,Jaune,Marron,Navy,Noir,Olive,Vert,Violet}\do{\AffCarteJeu[Hauteur=1.75]{Dos#1}}
-\subsection{Poker/Bataille/Belote (v2)}
+\subsection{Poker/Bataille/Belote/Rami (v2)}
Dos disponibles : \texttt{DosBleu} ou \texttt{DosRouge} ou \texttt{DosBleu2} ou \texttt{DosRouge2}
@@ -783,7 +787,7 @@ Dos disponibles : \texttt{DosBleu} ou \texttt{DosRouge} ou \texttt{DosBleu2} ou
\pagebreak
-\subsection{Poker/Bataille/Belote (v3)}
+\subsection{Poker/Bataille/Belote/Rami (v3)}
Dos disponibles : \texttt{DosNoir} ou \texttt{DosRouge}
@@ -799,7 +803,7 @@ Dos disponibles : \texttt{DosNoir} ou \texttt{DosRouge}
\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{JN}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{JR}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{DosNoir}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{DosRouge}%
-\subsection{Poker/Bataille/Belote (v4)}
+\subsection{Poker/Bataille/Belote/Rami (v4)}
Dos disponibles : \texttt{DosBleu} ou \texttt{DosRouge}
@@ -813,10 +817,26 @@ Dos disponibles : \texttt{DosBleu} ou \texttt{DosRouge}
\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{#1T}}
-\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{JN}\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{JR}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{DosRouge}\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{DosBleu}%
+\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{JN}\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{JR}\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{DosRouge}\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{DosBleu}%
\pagebreak
+\subsection{Poker/Bataille/Belote/Rami (v5)}
+
+Dos disponibles : \texttt{DosNoir} ou \texttt{DosRouge}
+
+\medskip
+
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv5,Hauteur=1.85]{#1P}}
+
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv5,Hauteur=1.85]{#1C}}
+
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv5,Hauteur=1.85]{#1K}}
+
+\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv5,Hauteur=1.85]{#1T}}
+
+\AffCarteJeu[TypeJeu=Pokerv5,Hauteur=1.85]{JN}\AffCarteJeu[TypeJeu=Pokerv5,Hauteur=1.85]{JR}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{DosRouge}\AffCarteJeu[TypeJeu=Pokerv5,Hauteur=1.85]{DosNoir}%
+
\subsection{Cartes Tarot}
\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.85]{#1P}}
@@ -846,7 +866,7 @@ Dos disponibles : \texttt{DosBleu} ou \texttt{DosRouge}
\AffCartesJeu[TypeJeu=Uno,Hauteur=1.85]{0V § 1V § 2V § 3V § 4V § 5V § 6V § 7V § 8V § 9V § P2V § PTV § CSV}
-\AffCartesJeu[TypeJeu=Uno,Hauteur=1.85]{P4 § Coul}
+\AffCartesJeu[TypeJeu=Uno,Hauteur=1.85]{P4 § Coul § Dos}
\subsection{MiniCartes}
diff --git a/Master/texmf-dist/doc/latex/jeuxcartes/README.md b/Master/texmf-dist/doc/latex/jeuxcartes/README.md
index 3593df51ccd..f7d63ad0985 100644
--- a/Master/texmf-dist/doc/latex/jeuxcartes/README.md
+++ b/Master/texmf-dist/doc/latex/jeuxcartes/README.md
@@ -6,8 +6,9 @@ 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 v1 cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards
-Poker v2 cards Image's Licence : Public Domain https://tekeye.uk/playing_cards/svg-playing-cards
-Poker v3 cards Image's Licence : Public Domain https://www.me.uk/cards/
-Poker v4 cards Image's Licence : CC BY-SA 4.0 https://commons.wikimedia.org/wiki/File:Computer_screen_playing_cards_deck.svg
-Tarot v1 cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards
-Uno v1 cards Image's Licence : MIT License https://eperezcosano.github.io/uno-part1/ \ No newline at end of file
+Poker v2 cards Image's Licence : Public Domain https://tekeye.uk/playing_cards/svg-playing-cards
+Poker v3 cards Image's Licence : Public Domain https://www.me.uk/cards/
+Poker v4 cards Image's Licence : CC BY-SA 4.0 https://commons.wikimedia.org/wiki/File:Computer_screen_playing_cards_deck.svg
+Poker v5 cards Image's Licence : Public Domain https://www.me.uk/cards/
+Tarot v1 cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards
+Uno v1 cards Image's Licence : MIT License https://eperezcosano.github.io/uno-part1/ \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdf
index a74874dca91..efa9aa6166f 100644
--- a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdf
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10C.pdf
new file mode 100644
index 00000000000..a0347f6fb5a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10K.pdf
new file mode 100644
index 00000000000..35dcbf6111e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10P.pdf
new file mode 100644
index 00000000000..76b5d17bb46
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10T.pdf
new file mode 100644
index 00000000000..0b074e15fc9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-10T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2C.pdf
new file mode 100644
index 00000000000..0f71e8ee845
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2K.pdf
new file mode 100644
index 00000000000..170a854dcb0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2P.pdf
new file mode 100644
index 00000000000..4a8d917893b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2T.pdf
new file mode 100644
index 00000000000..5366b5b410d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-2T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3C.pdf
new file mode 100644
index 00000000000..e0d00557e47
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3K.pdf
new file mode 100644
index 00000000000..313540ba6ff
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3P.pdf
new file mode 100644
index 00000000000..af5f6c258f3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3T.pdf
new file mode 100644
index 00000000000..41d6b831120
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-3T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4C.pdf
new file mode 100644
index 00000000000..d3e297c9f41
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4K.pdf
new file mode 100644
index 00000000000..7b88d6c5e8a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4P.pdf
new file mode 100644
index 00000000000..792192fff5a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4T.pdf
new file mode 100644
index 00000000000..701e1f14f02
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-4T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5C.pdf
new file mode 100644
index 00000000000..3c8df722e5a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5K.pdf
new file mode 100644
index 00000000000..87cdbba7ba2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5P.pdf
new file mode 100644
index 00000000000..a513aa2cd0c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5T.pdf
new file mode 100644
index 00000000000..4c6ade11395
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-5T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6C.pdf
new file mode 100644
index 00000000000..695656849ac
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6K.pdf
new file mode 100644
index 00000000000..cb201ad1804
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6P.pdf
new file mode 100644
index 00000000000..c4cf9857006
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6T.pdf
new file mode 100644
index 00000000000..7fb7fc09d12
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-6T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7C.pdf
new file mode 100644
index 00000000000..22ffc8c8ba9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7K.pdf
new file mode 100644
index 00000000000..c361e355ed6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7P.pdf
new file mode 100644
index 00000000000..746c4325333
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7T.pdf
new file mode 100644
index 00000000000..3cbcea25be0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-7T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8C.pdf
new file mode 100644
index 00000000000..dc49fa462cb
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8K.pdf
new file mode 100644
index 00000000000..ec06542f08e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8P.pdf
new file mode 100644
index 00000000000..4f6211f4995
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8T.pdf
new file mode 100644
index 00000000000..bcd36f1d1cf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-8T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9C.pdf
new file mode 100644
index 00000000000..241f7a440aa
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9C.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9K.pdf
new file mode 100644
index 00000000000..019a2d4284a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9K.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9P.pdf
new file mode 100644
index 00000000000..4b7b3e8c22e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9P.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9T.pdf
new file mode 100644
index 00000000000..7f531471ce1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-9T.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AC.pdf
new file mode 100644
index 00000000000..e9603ba477f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AC.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AK.pdf
new file mode 100644
index 00000000000..9df4072a660
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AK.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AP.pdf
new file mode 100644
index 00000000000..92a1b30aa62
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AP.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AT.pdf
new file mode 100644
index 00000000000..8305277919e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-AT.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DC.pdf
new file mode 100644
index 00000000000..c975209459d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DC.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DK.pdf
new file mode 100644
index 00000000000..88392e7f932
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DK.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DP.pdf
new file mode 100644
index 00000000000..416c9d5e93f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DP.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DT.pdf
new file mode 100644
index 00000000000..ba4005f1e86
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DT.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosNoir.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosNoir.pdf
new file mode 100644
index 00000000000..2df23fd9577
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosNoir.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosRouge.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosRouge.pdf
new file mode 100644
index 00000000000..5a1f0360ae1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-DosRouge.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JN.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JN.pdf
new file mode 100644
index 00000000000..a13fe505ef5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JN.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JR.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JR.pdf
new file mode 100644
index 00000000000..ea863df147a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-JR.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RC.pdf
new file mode 100644
index 00000000000..7486ce32013
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RC.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RK.pdf
new file mode 100644
index 00000000000..14abe2aaf8d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RK.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RP.pdf
new file mode 100644
index 00000000000..0caa8759853
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RP.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RT.pdf
new file mode 100644
index 00000000000..efd36545c5e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-RT.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VC.pdf
new file mode 100644
index 00000000000..a6472e97e1c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VC.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VK.pdf
new file mode 100644
index 00000000000..967de478d2f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VK.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VP.pdf
new file mode 100644
index 00000000000..55673d335df
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VP.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VT.pdf
new file mode 100644
index 00000000000..7bc88eb1df4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv5-VT.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-UnOv1-Dos.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-UnOv1-Dos.pdf
new file mode 100644
index 00000000000..96b92b253e7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-UnOv1-Dos.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty b/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty
index a94f30eefb1..b5f2b94ac5c 100644
--- a/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty
+++ b/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty
@@ -4,11 +4,13 @@
% Poker v2 cards Image's Licence : Public Domain https://tekeye.uk/playing_cards/svg-playing-cards
% Poker v3 cards Image's Licence : Public Domain https://www.me.uk/cards/
% Poker v4 cards Image's Licence : CC BY-SA 4.0) https://commons.wikimedia.org/wiki/File:Computer_screen_playing_cards_deck.svg
+% Poker v5 cards Image's Licence : Public Domain https://www.me.uk/cards/
% Tarot v1 cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards
% Uno v1 cards Image's Licence : MIT License https://eperezcosano.github.io/uno-part1/
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{JeuxCartes}[2023/02/22 v0.2.2a Jeux de cartes]
+\ProvidesPackage{JeuxCartes}[2023/02/25 v0.2.3 Jeux de cartes]
+% 0.2.3 Ajout d'une option pour présenter une main "inversée" + style v5
% 0.2.2a Correction de 2 cartes de pokerv4
% 0.2.2 Ajout d'un style v4 pour le poker
% 0.2.1a Correction d'un bug avec une carte de poker...
@@ -73,15 +75,15 @@
%cas pokerv4
\IfStrEq{\AffCarteJeuType}{Pokerv4}%poker4
{\def\CartePrefixe{CaJ-PokeRv4-}}{}%
+ %cas pokerv5
+ \IfStrEq{\AffCarteJeuType}{Pokerv5}%poker5
+ {\def\CartePrefixe{CaJ-PokeRv5-}}{}%
%cas tarot
\IfStrEq{\AffCarteJeuType}{Tarot}%tarot
{\def\CartePrefixe{CaJ-TaroTv1-}}{}%
%cas uno
\IfStrEq{\AffCarteJeuType}{Uno}%uno
{\def\CartePrefixe{CaJ-UnOv1-}}{}%
- %cas unov2
-% \IfStrEq{\AffCarteJeuType}{Unov2}%uno
-% {\def\CartePrefixe{CaJ-Unov2-}}{}%
%transformation valign en tikz
\def\OptionTikzCBB{current bounding box.center}%
\IfStrEq{\AffCarteJeuAlignementV}{0}%
@@ -139,6 +141,7 @@
TypeJeu=\def\MainJeuType{#1},%
AlignementV=\def\MainAlignementV{#1}
}
+
\setKVdefault[AffMainCartes]{%
Hauteur=4.25,%
EspH=1,%
@@ -146,7 +149,8 @@
Rotation=10,%
Eventail=false,%
TypeJeu=Poker,%
- AlignementV=0.5
+ AlignementV=0.5,%
+ Inverse=false
}
\NewDocumentCommand\MainCartesJeu{ O{} m }{%1=options,2=listecartes
@@ -165,12 +169,12 @@
{\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-PokeRv3-}}{}%
\IfStrEq{\MainJeuType}{Pokerv4}%poker4
{\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-PokeRv4-}}{}%
+ \IfStrEq{\MainJeuType}{Pokerv5}%poker5
+ {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-PokeRv5-}}{}%
\IfStrEq{\MainJeuType}{Tarot}%tarot
{\def\HauteurGenerique{5.5}\def\CarteMainPrefixe{CaJ-TaroTv1-}}{}%
\IfStrEq{\MainJeuType}{Uno}%uno
{\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-UnOv1-}}{}%
-% \IfStrEq{\MainJeuType}{Unov2}%unov2
-% {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-Unov2-}}{}%
%echelle globale
\def\EchelleCarteDecalage{\fpeval{\MainHauteur/\HauteurGenerique}}%
%transformation valign en tikz
@@ -181,7 +185,14 @@
{\def\OptionTikzCBB{current bounding box.north}}{}%
%environnement tikzpicture
\begin{tikzpicture}[baseline=(\OptionTikzCBB)]%
- \foreach \i in {1,2,...,\ListeCartesMainlen}{%
+ \ifboolKV[AffMainCartes]{Inverse}%
+ {%
+ \foreach \i in {\ListeCartesMainlen,\inteval{\ListeCartesMainlen-1},...,1}
+ }%
+ {%
+ \foreach \i in {1,2,...,\ListeCartesMainlen}
+ }%
+ {%
\itemtomacro\ListeCartesMain[\i]\CarteMain%
\ifboolKV[AffMainCartes]{Eventail}%
{%
@@ -215,7 +226,8 @@
Rotation=10,%
Eventail=false,%
TypeJeu=Poker,%
- AlignementV=0.5
+ AlignementV=0.5,%
+ Inverse=false
}
\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}%
@@ -238,10 +250,10 @@
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}%
\IfStrEq{\MainJeuType}{Pokerv4}%pokerv4
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Pokerv5}%pokerv5
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv5}\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}{Unov2}%unov2
-% {\def\HauteurGenerique{8.5}\def\CarteMainType{Unov2}\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}{Bataillev2}%bataillev2
@@ -250,6 +262,8 @@
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}%
\IfStrEq{\MainJeuType}{Bataillev4}%bataillev4
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Bataillev5}%bataillev5
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv5}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}%
\IfStrEq{\MainJeuType}{Belote}%belote
{\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}%
\IfStrEq{\MainJeuType}{Belotev2}%belotev2
@@ -258,6 +272,8 @@
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}%
\IfStrEq{\MainJeuType}{Belotev4}%belotev4
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Belotev5}%belotev5
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv5}\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}{Ramiv2}%ramiv2
@@ -266,6 +282,8 @@
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}%
\IfStrEq{\MainJeuType}{Ramiv4}%ramiv4
{\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}%
+ \IfStrEq{\MainJeuType}{Ramiv5}%ramiv5
+ {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv5}\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
@@ -302,6 +320,12 @@
\do{\InsertRandomItem{CartesJeuMelange}{##1}}%
}%
{}%
+ \IfStrEq{\MainJeuType}{Pokerv5}%si c'est le pokerv5
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuPoker}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
\IfStrEq{\MainJeuType}{Bataille}%si c'est la bataille
{%
\xintFor* ##1 in {\xintCSVtoList{\CartesJeuBataille}}%
@@ -326,6 +350,12 @@
\do{\InsertRandomItem{CartesJeuMelange}{##1}}%
}%
{}%
+ \IfStrEq{\MainJeuType}{Bataillev5}%si c'est la bataillev5
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBataille}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
\IfStrEq{\MainJeuType}{Rami}%si c'est le rami
{%
\xintFor* ##1 in {\xintCSVtoList{\CartesJeuRami}}%
@@ -350,18 +380,18 @@
\do{\InsertRandomItem{CartesJeuMelange}{##1}}%
}%
{}%
+ \IfStrEq{\MainJeuType}{Ramiv5}%si c'est le ramiv5
+ {%
+ \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}{Unov2}%si c'est le unov2
-% {%
-% \xintFor* ##1 in {\xintCSVtoList{\CartesJeuUno}}%
-% \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
-% }%
-% {}%
\IfStrEq{\MainJeuType}{Belote}%si c'est la belote
{%
\xintFor* ##1 in {\xintCSVtoList{\CartesJeuBelote}}%
@@ -386,6 +416,12 @@
\do{\InsertRandomItem{CartesJeuMelange}{##1}}%
}%
{}%
+ \IfStrEq{\MainJeuType}{Belotev5}%si c'est la belotev5
+ {%
+ \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBelote}}%
+ \do{\InsertRandomItem{CartesJeuMelange}{##1}}%
+ }%
+ {}%
\IfStrEq{\MainJeuType}{Tarot}%si c'est le tarot
{%
\xintFor* ##1 in {\xintCSVtoList{\CartesJeuTarot}}%
@@ -394,9 +430,16 @@
{}%
%environnement tikzpicture
\begin{tikzpicture}[baseline=(\OptionTikzCBB)]%
- \foreach \i in {1,2,...,#2}{%
+ \ifboolKV[AffMainAleaCartes]{Inverse}%
+ {%
+ \foreach \i in {#2,\inteval{#2-1},...,1}
+ }%
+ {%
+ \foreach \i in {1,2,...,#2}
+ }%
+ {%
+ %\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)}}%