texlive[67342] Master/texmf-dist: playcards (12jun23)

commits+karl at tug.org commits+karl at tug.org
Mon Jun 12 22:14:30 CEST 2023


Revision: 67342
          http://tug.org/svn/texlive?view=revision&revision=67342
Author:   karl
Date:     2023-06-12 22:14:30 +0200 (Mon, 12 Jun 2023)
Log Message:
-----------
playcards (12jun23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/playcards/README.md
    trunk/Master/texmf-dist/doc/latex/playcards/playcards-en.pdf
    trunk/Master/texmf-dist/doc/latex/playcards/playcards-en.tex
    trunk/Master/texmf-dist/doc/latex/playcards/playcards-fr.pdf
    trunk/Master/texmf-dist/doc/latex/playcards/playcards-fr.tex
    trunk/Master/texmf-dist/tex/latex/playcards/playcards.sty

Modified: trunk/Master/texmf-dist/doc/latex/playcards/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/playcards/README.md	2023-06-12 19:38:52 UTC (rev 67341)
+++ trunk/Master/texmf-dist/doc/latex/playcards/README.md	2023-06-12 20:14:30 UTC (rev 67342)
@@ -1,7 +1,7 @@
 # Playcards package
 Tiny LaTeX package to draw playcards.
 ## Version
-0.2, 2023/05/02
+0.2.1, 2023/06/11
 ## Licence
 GNU LGPL v3.0 https://www.gnu.org/licenses/lgpl-3.0.html
 ## Contact

Modified: trunk/Master/texmf-dist/doc/latex/playcards/playcards-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/playcards/playcards-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/playcards/playcards-en.tex	2023-06-12 19:38:52 UTC (rev 67341)
+++ trunk/Master/texmf-dist/doc/latex/playcards/playcards-en.tex	2023-06-12 20:14:30 UTC (rev 67342)
@@ -37,7 +37,7 @@
 
 \section{Download, installation, requirements}
 	\subsection{Automatically loaded packages}
-Package available on CTAN : \href{https://ctan.org/pkg/playcards}{https://ctan.org/pkg/playcards}. It contains one single file: \texttt{playcards.sty}.
+Package available on CTAN : \url{https://ctan.org/pkg/playcards}. It contains one single file: \texttt{playcards.sty}.
 
 Some packages are automatically loaded. They are installed by default on most configurations:
 \begin{description}

Modified: trunk/Master/texmf-dist/doc/latex/playcards/playcards-fr.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/playcards/playcards-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/playcards/playcards-fr.tex	2023-06-12 19:38:52 UTC (rev 67341)
+++ trunk/Master/texmf-dist/doc/latex/playcards/playcards-fr.tex	2023-06-12 20:14:30 UTC (rev 67342)
@@ -37,7 +37,7 @@
 Merci également à \href{https://tex.stackexchange.com/users/1948/didest}{didest}, dont la question posée sur \href{https://tex.stackexchange.com/questions/47924/creating-playing-cards-using-tikz}{StackExchange} m'a servi de base.
 
 \section{Téléchargement, installation, prérequis}
-Le package est disponible sur CTAN : \href{https://ctan.org/pkg/playcards}{https://ctan.org/pkg/playcards}. Il contient un unique fichier : \texttt{playcards.sty}.
+Le package est disponible sur CTAN : \url{https://ctan.org/pkg/playcards}. Il contient un unique fichier : \texttt{playcards.sty}.
 
 	\subsection{Packages chargés automatiquement}
 Certains packages sont chargés automatiquement. Ils sont installés par défaut sur la majorités des configurations classiques :

Modified: trunk/Master/texmf-dist/tex/latex/playcards/playcards.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/playcards/playcards.sty	2023-06-12 19:38:52 UTC (rev 67341)
+++ trunk/Master/texmf-dist/tex/latex/playcards/playcards.sty	2023-06-12 20:14:30 UTC (rev 67342)
@@ -1,6 +1,6 @@
 % Clément PAGÈS <contact at clementpages.fr>
 %
-% Version 0.2
+% Version 0.2.1
 %
 % Draws basic playcards with Tikz. Inspired by https://tex.stackexchange.com/questions/47924/creating-playing-cards-using-tikz
 %
@@ -11,7 +11,7 @@
 
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{playcards}[2023/05/02, Personal commands]
+\ProvidesPackage{playcards}[2023/06/11, Provides commands to draw playcards]
 
 \RequirePackage{simplekv}
 \RequirePackage{graphicx}
@@ -19,12 +19,6 @@
 \usetikzlibrary{patterns}
 \usetikzlibrary{shadows}
 \usepgflibrary {shadings}
-\tikzset{
-    x=1mm,y=1mm,
-    cardcorners/.style={
-        rounded corners=4
-    },
-}
 
 % Check if attor is given a optional parameter
 \newif\if at loadanttorfont\@loadanttorfontfalse
@@ -151,6 +145,12 @@
 
 
 \newcommand{\drawcardsverso}[2][]{
+	\tikzset{%
+		x=1mm,y=1mm,%
+		cardcorners/.style={%
+			rounded corners=4%
+		},%
+	}
 	\if at loadanttorfont % Change card font to anttor if parameter antor given
 		\fontfamily{antt}
 	\fi
@@ -168,6 +168,12 @@
 }
 
 \newcommand{\drawcardsrecto}[2][] {
+	\tikzset{%
+		x=1mm,y=1mm,%
+		cardcorners/.style={%
+			rounded corners=4%
+		},%
+	}
 	\if at loadanttorfont % Change card font to anttor if parameter antor given
 		\fontfamily{antt}
 	\fi



More information about the tex-live-commits mailing list.