diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-27 03:00:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-27 03:00:55 +0000 |
commit | c053caa3ee50538ec23a08c0d35a0ca205b9923d (patch) | |
tree | 32e5dc4189b700e7aad1c6515f68933a77a30be4 /graphics/pgf | |
parent | 0d14ad8d416e14dc61b009c524689462ace354d5 (diff) |
CTAN sync 202311270300
Diffstat (limited to 'graphics/pgf')
-rw-r--r-- | graphics/pgf/contrib/trivialpursuit/README.md | 6 | ||||
-rw-r--r-- | graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.pdf | bin | 270719 -> 284742 bytes | |||
-rw-r--r-- | graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.tex | 23 | ||||
-rw-r--r-- | graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.pdf | bin | 271916 -> 286185 bytes | |||
-rw-r--r-- | graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.tex | 25 | ||||
-rw-r--r-- | graphics/pgf/contrib/trivialpursuit/tex/TrivialPursuit.sty | 20 |
6 files changed, 66 insertions, 8 deletions
diff --git a/graphics/pgf/contrib/trivialpursuit/README.md b/graphics/pgf/contrib/trivialpursuit/README.md index a450a3dd21..fb1be85d30 100644 --- a/graphics/pgf/contrib/trivialpursuit/README.md +++ b/graphics/pgf/contrib/trivialpursuit/README.md @@ -1,7 +1,7 @@ TriviaPursuit is a package to work with the Trivial Pursuit Board Game. ------------------------------------------------------------------------ -Scrabble est un package pour représenter un plateau de Trivial Pursuit. ------------------------------------------------------------------------ +---------------------------------------------------------------------------- +TriviaPursuit est un package pour représenter un plateau de Trivial Pursuit. +---------------------------------------------------------------------------- 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 diff --git a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.pdf b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.pdf Binary files differindex 9d7cb57304..44c8e897ce 100644 --- a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.pdf +++ b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.pdf diff --git a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.tex b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.tex index ccfba05136..b0a81f9e6a 100644 --- a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.tex +++ b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-en.tex @@ -21,8 +21,8 @@ \hypersetup{pdfborder=0 0 0} \usepackage[margin=2cm]{geometry} \setlength{\parindent}{0pt} -\def\TPversion{0.1.0} -\def\TPdate{23/11/2023} +\def\TPversion{0.1.1} +\def\TPdate{26/11/2023} \usepackage{tcolorbox} \tcbuselibrary{skins,hooks,listingsutf8} \usepackage{soul} @@ -135,6 +135,7 @@ Loaded are useful package are : \begin{quote} \begin{verbatim} +0.1.1 : Adding two schemes of colors 0.1.0 : Initial version \end{verbatim} \end{quote} @@ -215,4 +216,22 @@ Available \textsf{keys} are : \faAtom,\faBalanceScaleLeft,\faBell} ] \end{tcblisting} + +\pagebreak + +\subsection{Schemes of colors} + +In addition (on a suggestion from \textsf{quark67}), two color styles have been defined internally : + +\begin{quote} +\begin{verbatim} +\TPColorsA +\TPColorsB +\end{verbatim} +\end{quote} + +\begin{tcblisting}{colframe=lightgray,colback=lightgray!5} +\BoardTrivialPursuit[Unit=0.5,ListColors=\TPColorsA] +\BoardTrivialPursuit[Unit=0.5,ListColors=\TPColorsB] +\end{tcblisting} \end{document}
\ No newline at end of file diff --git a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.pdf b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.pdf Binary files differindex 7b50011e6c..2b6b766846 100644 --- a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.pdf +++ b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.pdf diff --git a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.tex b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.tex index dd9094863e..ff50c6a07d 100644 --- a/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.tex +++ b/graphics/pgf/contrib/trivialpursuit/doc/TrivialPursuit-doc-fr.tex @@ -21,8 +21,8 @@ \hypersetup{pdfborder=0 0 0} \usepackage[margin=2cm]{geometry} \setlength{\parindent}{0pt} -\def\TPversion{0.1.0} -\def\TPdate{23 novembre 2023} +\def\TPversion{0.1.1} +\def\TPdate{26 novembre 2023} \usepackage{tcolorbox} \tcbuselibrary{skins,hooks,listingsutf8} \usepackage{soul} @@ -135,6 +135,7 @@ Les packages chargés et utilisés par \MontreCode{TrivialPursuit} sont : \begin{quote} \begin{verbatim} +0.1.1 : Ajout de palettes de couleurs prédéfinies 0.1.0 : Version initiale \end{verbatim} \end{quote} @@ -215,4 +216,24 @@ Les \textsf{clés} disponibles sont : \faAtom,\faBalanceScaleLeft,\faBell} ] \end{tcblisting} + +\pagebreak + +\subsection{Palettes de couleurs prédéfinies} + +En complément (sur une suggestion de \textsf{quark67}), deux styles de couleurs ont été définies en interne : + +\begin{quote} +\begin{verbatim} +\TPColorsA +\TPColorsB +\end{verbatim} +\end{quote} + +\begin{tcblisting}{colframe=lightgray,colback=lightgray!5} +\PlateauTrivialPursuit[Unite=0.5,ListeCouleurs=\TPColorsA] +\PlateauTrivialPursuit[Unite=0.5,ListeCouleurs=\TPColorsB] +\end{tcblisting} + + \end{document}
\ No newline at end of file diff --git a/graphics/pgf/contrib/trivialpursuit/tex/TrivialPursuit.sty b/graphics/pgf/contrib/trivialpursuit/tex/TrivialPursuit.sty index 9d12d939a9..d8b8411130 100644 --- a/graphics/pgf/contrib/trivialpursuit/tex/TrivialPursuit.sty +++ b/graphics/pgf/contrib/trivialpursuit/tex/TrivialPursuit.sty @@ -4,7 +4,8 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{TrivialPursuit}[2023/11/23 0.1.0 Present a Trivial Pursuit Board] +\ProvidesPackage{TrivialPursuit}[2023/11/26 0.1.1 Present a Trivial Pursuit Board] +% 0.1.1 Adding schemes of colors % 0.1.0 Initial version %====PACKAGES @@ -16,6 +17,23 @@ \RequirePackage{xintexpr} \RequirePackage{listofitems} +%====COLORS (tks to quark67) +%styleA +\definecolor{TPorangeA}{cmyk}{0,0.6,1,0} +\definecolor{TPblueA}{cmyk}{0.7,0,0,0} +\definecolor{TPbrownA}{cmyk}{0.3,0.5,0.7,0} +\definecolor{TPgreenA}{cmyk}{0.7,0,0.8,0} +\definecolor{TPpinkA}{cmyk}{0,0.6,0,0} +\def\TPColorsA{yellow,TPorangeA,TPblueA,TPbrownA,TPgreenA,TPpinkA} +%styleB +\definecolor{TPyellowB}{cmyk}{0,0,0.75,0} +\definecolor{TPorangeB}{cmyk}{0,0.25,0.95,0} +\definecolor{TPblueB}{cmyk}{0.65,0.1,0.1,0} +\definecolor{TPbrownB}{cmyk}{0.15,0.3,0.85,0} +\definecolor{TPgreenB}{cmyk}{0.3,0,0.95,0} +\definecolor{TPpinkB}{cmyk}{0.0,0.65,0.4,0} +\def\TPColorsB{TPyellowB,TPorangeB,TPblueB,TPbrownB,TPgreenB,TPpinkB} + %====KEYS [FR] \defKV[TrivPurs]{% Rayon=\xdef\triv@purs@rayon{#1},% |