texlive[67866] Master/texmf-dist: writeongrid (9aug23)

commits+karl at tug.org commits+karl at tug.org
Wed Aug 9 21:59:58 CEST 2023


Revision: 67866
          http://tug.org/svn/texlive?view=revision&revision=67866
Author:   karl
Date:     2023-08-09 21:59:57 +0200 (Wed, 09 Aug 2023)
Log Message:
-----------
writeongrid (9aug23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-en.pdf
    trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-en.tex
    trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-fr.pdf
    trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-fr.tex
    trunk/Master/texmf-dist/tex/latex/writeongrid/WriteOnGrid.sty

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

Modified: trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-en.tex	2023-08-09 19:59:48 UTC (rev 67865)
+++ trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-en.tex	2023-08-09 19:59:57 UTC (rev 67866)
@@ -45,8 +45,8 @@
 \setlength{\parindent}{0pt}
 \definecolor{LightGray}{gray}{0.9}
 
-\def\TPversion{0.1.3}
-\def\TPdate{18/03/2023}
+\def\TPversion{0.1.4}
+\def\TPdate{09/08/2023}
 
 \usepackage[most]{tcolorbox}
 \tcbuselibrary{minted}
@@ -168,10 +168,14 @@
 
 \medskip
 
+For a better compatibility, \texttt{xcolor} isn't charged anymore with options, so the usefull colors are directly defined within the package.
+
+\medskip
+
 It loads the following packages and libraries :
 
 \begin{itemize}
-	\item \texttt{xcolor} with options \Cle{table,svgnames} ;
+	%\item \texttt{xcolor} with options \Cle{table,svgnames} ;
 	\item \texttt{tikz} with the librairies \Cle{calc} and \Cle{positionning} ;
 	\item \texttt{xstring}, \texttt{xparse} and \texttt{simplekv}.
 \end{itemize}
@@ -202,7 +206,7 @@
 	\item with a size 24x5 squares ;
 	\item with an overtaking by \textcolor{red}{2 squares at the left} and \textcolor{blue}{3 squares at the right} ;
 	\item with a global margin of \textcolor{orange}{1 square} ;
-	\item with a \textcolor{ForestGreen}{\textit{border}} to show the \textit{basis} grid.
+	\item with a \textcolor{green!50!black}{\textit{border}} to show the \textit{basis} grid.
 \end{itemize}
 
 \medskip
@@ -215,16 +219,16 @@
 	\draw[blue,thick,decorate,decoration={brace,amplitude=8pt,mirror}] ({0.5*24},{-0.5*5-0.25})--({0.5*24+3*0.5},{-0.5*5-0.25}) node[midway,below=8pt,font=\small\sffamily] {3C} ;
 	\draw[thick,decorate,decoration={brace,amplitude=8pt}] ({0.5*24+3*0.5+0.25},0)--({0.5*24+3*0.5+0.25},{-0.5*5}) node[midway,right=8pt,font=\small\sffamily] {5C} ;
 	\draw[very thick,orange,densely dashed] ({0.5*1},0)--({0.5*1},{-0.5*5}) ;
-	\draw[ForestGreen,thick] (0,0) rectangle ({0.5*24},{-0.5*5}) ;
+	\draw[green!50!black,thick] (0,0) rectangle ({0.5*24},{-0.5*5}) ;
 \end{tikzpicture}
 
 \vspace{1.25cm}
 
-The \texttt{tikzpicture} is \textit{bounded} by the \textcolor{ForestGreen}{\textit{border}}, in order to specify overtakings or alignment.
+The \texttt{tikzpicture} is \textit{bounded} by the \textcolor{green!50!black}{\textit{border}}, in order to specify overtakings or alignment.
 
 \smallskip
 
-Le left-border of the \textcolor{ForestGreen}{\textit{border}} is aligned on the left-margin of the page, so take care of the \texttt{\textbackslash parindent}.
+Le left-border of the \textcolor{green!50!black}{\textit{border}} is aligned on the left-margin of the page, so take care of the \texttt{\textbackslash parindent}.
 
 \subsection{Predefined colors}
 
@@ -232,12 +236,22 @@
 
 \begin{PresentationCode}{listing only}
 \definecolor{TyrianPurple}{rgb}{0.4,0.01,0.24}
+\definecolor{PapierRose}{HTML}{E6B8E6}
+\definecolor{PapierGris}{HTML}{D7E2EE}
 %Colors for Seyes
-\def\ColSeyes{Plum!75/LightSteelBlue!50}
+\def\ColSeyes{PapierRose/PapierGris}
 %Colors for Ruled
-\def\ColRuled{LightSteelBlue!50/TyrianPurple}
+\def\ColRuled{PapierGris/TyrianPurple}
 \end{PresentationCode}
 
+\begin{PresentationCode}{text only}
+{\tikz \filldraw[TyrianPurple] (0,0) rectangle++ (6,1) node[midway,font=\bfseries\large,text=white] {\verb+TyrianPurple+};}
+
+{\tikz \filldraw[PapierRose] (0,0) rectangle++ (6,1) node[midway,font=\bfseries\large,text=black] {\verb+PapierRose+};}
+
+{\tikz \filldraw[PapierGris] (0,0) rectangle++ (6,1) node[midway,font=\bfseries\large,text=black] {\verb+PapierGris+};}
+\end{PresentationCode}
+
 \pagebreak
 
 \section{Commands, keys and options}
@@ -275,8 +289,8 @@
 %18x4 big squares, w/o overtaking, Seyes colors, w/o margin/bar
 \DispGrid[NumSquares=18x4,Grid=Seyes,DispBar=false]<\ColSeyes>
 
-%36x8 small squares, overtakings 3/3, LightSteelBlue color
-\DispGrid[NumSquares=36x8,Enlarge=3/3]<LightSteelBlue>
+%36x8 small squares, overtakings 3/3, PapierGris color
+\DispGrid[NumSquares=36x8,Enlarge=3/3]<PapierGris>
 
 %12x3 lines "Ruled", w/o overtakins, Ruled colors, centered, with 2-margin
 \begin{center}
@@ -290,7 +304,7 @@
 
 \medskip
 
-\DispGrid[NumSquares=36x8,Enlarge=3/3]<LightSteelBlue>
+\DispGrid[NumSquares=36x8,Enlarge=3/3]<PapierGris>
 
 \smallskip
 
@@ -336,8 +350,8 @@
 \begin{EnvGrid}[NumSquares=18x4,Grid=Seyes,Margin=3]<\ColSeyes>
 \end{EnvGrid}
 
-%36x8 small squares, overtakings 3/3, LightSteelBlue color
-\begin{EnvGrid}[NumSquares=36x8,Enlarge=3/3]<LightSteelBlue>
+%36x8 small squares, overtakings 3/3, PapierGris color
+\begin{EnvGrid}[NumSquares=36x8,Enlarge=3/3]<PapierGris>
 \end{EnvGrid}
 
 %12x3 lines "Ruled", w/o overtakins, Ruled colors, centered, with 2-margin
@@ -354,7 +368,7 @@
 
 \smallskip
 
-\begin{EnvGrid}[NumSquares=36x8,Enlarge=3/3]<LightSteelBlue>
+\begin{EnvGrid}[NumSquares=36x8,Enlarge=3/3]<PapierGris>
 \end{EnvGrid}
 
 \smallskip
@@ -393,7 +407,7 @@
 	\item \Cle{Scale} to specify the scale of the given text.\hfill~default : \Cle{1}
 \end{itemize}
 
-the second argument, \textit{optional}, between \texttt{<...>} is the horizontal alignment (\Cle{left/center/right}) of the text in the basis \textcolor{ForestGreen}{\textit{border}}, \Cle{left} by default.
+the second argument, \textit{optional}, between \texttt{<...>} is the horizontal alignment (\Cle{left/center/right}) of the text in the basis \textcolor{green!50!black}{\textit{border}}, \Cle{left} by default.
 
 \medskip
 
@@ -454,7 +468,7 @@
 	\LignePapierRuled[Echelle=1.25,Ligne=1]{C. PIERQUET \hfill LaTeX}
 	\LignePapierRuled[Echelle=1.25,Ligne=2,Couleur=red]<center>{\underline{\cursive\bfseries Evaluation 3}}
 	\CadreNoteRuled{3}
-	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=ForestGreen]{\sffamily\underline{Exercise 1 :}}
+	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=green!50!black]{\sffamily\underline{Exercise 1 :}}
 	\ParagraphePapierRuled[Ligne=9]{\cursive\lipsum[1]}
 	\ParagraphePapierRuled[Ligne=22]
 	{%
@@ -473,7 +487,7 @@
 	\LignePapierRuled[Echelle=1.25,Ligne=1]{C. PIERQUET \hfill LaTeX}
 	\LignePapierRuled[Echelle=1.25,Ligne=2,Couleur=red]<center>{\underline{\cursive\bfseries Evaluation 3}}
 	\CadreNoteRuled{3}
-	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=ForestGreen]{\sffamily\underline{Exercise 1 :}}
+	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=green!50!black]{\sffamily\underline{Exercise 1 :}}
 	\ParagraphePapierRuled[Ligne=9]{\cursive\lipsum[1]}
 	\ParagraphePapierRuled[Ligne=22]
 	{%
@@ -485,9 +499,10 @@
 
 \pagebreak
 
-
 \part*{History}
 
+\verb|v0.1.4|~:~~~~\texttt{xcolor} isn't loadeed with \textsf{[table,svgnames]})
+
 \verb|v0.1.3|~:~~~~Command to display a grid (w/o writing on it)
 
 \verb|v0.1.2|~:~~~~Shortcuts for default colors + small bugfixes

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

Modified: trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-fr.tex	2023-08-09 19:59:48 UTC (rev 67865)
+++ trunk/Master/texmf-dist/doc/latex/writeongrid/WriteOnGrid-doc-fr.tex	2023-08-09 19:59:57 UTC (rev 67866)
@@ -48,8 +48,8 @@
 \setlength{\parindent}{0pt}
 \definecolor{LightGray}{gray}{0.9}
 
-\def\TPversion{0.1.3}
-\def\TPdate{18 Mars 2023}
+\def\TPversion{0.1.4}
+\def\TPdate{09 août 2023}
 
 \usepackage[most]{tcolorbox}
 \tcbuselibrary{minted}
@@ -180,12 +180,16 @@
 
 \medskip
 
+Pour des soucis de compatibilité, \texttt{xcolor} n'est pas chargé avec des options spécifiques, les couleurs utiles ont été définies directement dans le package.
+
+\medskip
+
 Il charge les packages et librairies suivantes :
 
 \begin{itemize}
-	\item \texttt{xcolor} avec les options \Cle{table,svgnames} ;
+	%\item \texttt{xcolor} avec les options \Cle{table,svgnames} ;
 	\item \texttt{tikz} avec les librairies \Cle{calc} et \Cle{positionning} ;
-	\item \texttt{xstring}, \texttt{xparse} et  \texttt{simplekv}.
+	\item \texttt{xstring} et \texttt{simplekv}.
 \end{itemize}
 
 \subsection{\og Philosophie \fg{} du package}
@@ -214,7 +218,7 @@
 	\item de taille 24x5 ;
 	\item avec un élargissement de \textcolor{red}{2 carreaux à gauche} et \textcolor{blue}{3 carreaux à droite} ;
 	\item en commençant à écrire au niveau du \textcolor{orange}{1\up{er} carreau} ;
-	\item un \textcolor{ForestGreen}{\textit{cadre}} est rajouté pour visualiser la grille \textit{de base}.
+	\item un \textcolor{green!50!black}{\textit{cadre}} est rajouté pour visualiser la grille \textit{de base}.
 \end{itemize}
 
 \medskip
@@ -227,17 +231,19 @@
 	\draw[blue,thick,decorate,decoration={brace,amplitude=8pt,mirror}] ({0.5*24},{-0.5*5-0.25})--({0.5*24+3*0.5},{-0.5*5-0.25}) node[midway,below=8pt,font=\small\sffamily] {3C} ;
 	\draw[thick,decorate,decoration={brace,amplitude=8pt}] ({0.5*24+3*0.5+0.25},0)--({0.5*24+3*0.5+0.25},{-0.5*5}) node[midway,right=8pt,font=\small\sffamily] {5C} ;
 	\draw[very thick,orange,densely dashed] ({0.5*1},0)--({0.5*1},{-0.5*5}) ;
-	\draw[ForestGreen,thick] (0,0) rectangle ({0.5*24},{-0.5*5}) ;
+	\draw[green!50!black,thick] (0,0) rectangle ({0.5*24},{-0.5*5}) ;
 \end{tikzpicture}
 
 \vspace{1.5cm}
 
-Il est à noter que le figure \texttt{tikzpicture} est \textit{délimitée} par le \textcolor{ForestGreen}{\textit{cadre}}, afin de pouvoir gérer les débordements et l'alignement de l'environnement !
+Il est à noter que le figure \texttt{tikzpicture} est \textit{délimitée} par le \textcolor{green!50!black}{\textit{cadre}}, afin de pouvoir gérer les débordements et l'alignement de l'environnement !
 
 \smallskip
 
-De plus, le bord gauche du \textcolor{ForestGreen}{\textit{cadre}} est aligné sur la marge gauche de la page, donc la position du quadrillage dépend en partie de la configuration de \texttt{\textbackslash parindent}.
+De plus, le bord gauche du \textcolor{green!50!black}{\textit{cadre}} est aligné sur la marge gauche de la page, donc la position du quadrillage dépend en partie de la configuration de \texttt{\textbackslash parindent}.
 
+\pagebreak
+
 \subsection{Couleurs prédéfinies}
 
 Le package \textsf{WriteOnGrid} définit également des couleurs pour une saisie plus facile !
@@ -244,12 +250,24 @@
 
 \begin{PresentationCode}{listing only}
 \definecolor{TyrianPurple}{rgb}{0.4,0.01,0.24}
+\definecolor{PapierRose}{HTML}{E6B8E6}
+\definecolor{PapierGris}{HTML}{D7E2EE}
 %Couleurs adaptées pour le Seyes
-\def\CoulSeyes{Plum!75/LightSteelBlue!50}
+\def\CoulSeyes{PapierRose/PapierGris}
 %Couleurs adaptées pour le Ruled
-\def\CoulRuled{LightSteelBlue!50/TyrianPurple}
+\def\CoulRuled{PapierGris/TyrianPurple}
 \end{PresentationCode}
 
+\begin{PresentationCode}{text only}
+{\tikz \filldraw[TyrianPurple] (0,0) rectangle++ (6,1) node[midway,font=\bfseries\large,text=white] {\verb+TyrianPurple+};}
+
+{\tikz \filldraw[PapierRose] (0,0) rectangle++ (6,1) node[midway,font=\bfseries\large,text=black] {\verb+PapierRose+};}
+
+{\tikz \filldraw[PapierGris] (0,0) rectangle++ (6,1) node[midway,font=\bfseries\large,text=black] {\verb+PapierGris+};}
+\end{PresentationCode}
+
+
+
 \pagebreak
 
 \section{Grilles individuelles}
@@ -290,8 +308,8 @@
 %18x4 grands carreaux, sans dépassement, couleurs adaptées, sans marge/barre
 \AffQuadrillage[NbCarreaux=18x4,Grille=Seyes,AffBarre=false]<\CoulSeyes>
 
-%36x8 petits carreaux, avec débordements 3/3, couleur LightSteelBlue!50
-\AffQuadrillage[NbCarreaux=36x8,Elargir=3/3]<LightSteelBlue!50>
+%36x8 petits carreaux, avec débordements 3/3, couleur PapierGris
+\AffQuadrillage[NbCarreaux=36x8,Elargir=3/3]<PapierGris>
 
 %12x3 lignes "Ruled", sans débordements, couleur Ruled, centré, avec marge
 \begin{center}
@@ -305,7 +323,7 @@
 
 \medskip
 
-\AffQuadrillage[NbCarreaux=36x8,Elargir=3/3]<LightSteelBlue!50>
+\AffQuadrillage[NbCarreaux=36x8,Elargir=3/3]<PapierGris>
 
 \begin{center}
 	\AffQuadrillage[NbCarreaux=12x3,Elargir=2/2,Grille=Ruled,Marge=2]<\CoulRuled>
@@ -352,8 +370,8 @@
 \begin{EnvQuadrillage}[NbCarreaux=18x4,Grille=Seyes,Marge=3]<\CoulSeyes>
 \end{EnvQuadrillage}
 
-%36x8 petits carreaux, avec débordements 3/3, couleur LightSteelBlue!50
-\begin{EnvQuadrillage}[NbCarreaux=36x8,Elargir=3/3]<LightSteelBlue!50>
+%36x8 petits carreaux, avec débordements 3/3, couleur PapierGris
+\begin{EnvQuadrillage}[NbCarreaux=36x8,Elargir=3/3]<PapierGris>
 \end{EnvQuadrillage}
 
 %12x3 lignes "Ruled", sans débordements, couleur Ruled, centré, avec marge
@@ -370,7 +388,7 @@
 
 \smallskip
 
-\begin{EnvQuadrillage}[NbCarreaux=36x8,Elargir=3/3,Cadre]<LightSteelBlue!50>
+\begin{EnvQuadrillage}[NbCarreaux=36x8,Elargir=3/3,Cadre]<PapierGris>
 \end{EnvQuadrillage}
 
 \begin{center}
@@ -407,7 +425,7 @@
 	\item \Cle{Echelle} pour spécifier l'échelle du texte à écrire.\hfill~défaut : \Cle{1}
 \end{itemize}
 
-Le deuxième argument, \textit{optionnel}, entre \texttt{<...>} permet de spécifier l'alignement horizontal (parmi \Cle{left/center/right}) du texte dans le \textcolor{ForestGreen}{\textit{cadre}} de base, \Cle{left} par défaut.
+Le deuxième argument, \textit{optionnel}, entre \texttt{<...>} permet de spécifier l'alignement horizontal (parmi \Cle{left/center/right}) du texte dans le \textcolor{green!50!black}{\textit{cadre}} de base, \Cle{left} par défaut.
 
 \medskip
 
@@ -484,8 +502,8 @@
 Pour l'environnement de création de la grille, l'argument, \textit{optionnel} et entre \texttt{[...]}, propose :
 
 \begin{itemize}
-	\item la clé \Cle{CouleurP} pour la couleur des \textit{gros traits} ;\hfill~défaut : \Cle{Plum!66}
-	\item la clé \Cle{CouleurS} pour la couleur des \textit{petits traits} ;\hfill~défaut : \Cle{LightSteelBlue!33}
+	\item la clé \Cle{CouleurP} pour la couleur des \textit{gros traits} ;\hfill~défaut : \Cle{PapierRose}
+	\item la clé \Cle{CouleurS} pour la couleur des \textit{petits traits} ;\hfill~défaut : \Cle{PapierGris}
 	\item la clé \Cle{CouleurMarge} pour la couleur du trait de la marge ;\hfill~défaut : \Cle{red!75}
 	\item le booléen \Cle{NumLignes} pour afficher le numéro des lignes (pour aider !). \hfill~défaut : \Cle{false}
 \end{itemize}
@@ -539,7 +557,7 @@
 \ParagraphePapierSeyes[options]<alignement>(ajustement){texte}
 \end{PresentationCode}
 
-\faBomb{} Cet aspect \textit{multilignes} pourra sans doute être problématique pour un placement optimal, donc doit être utilisée avec précautions\ldots
+\faBomb{} Cet aspect \textit{multilignes} pourra sans doute être problématique pour un placement optimal, donc doit être utilisé avec précautions\ldots
 
 \smallskip
 
@@ -577,7 +595,7 @@
 	%cadre de notes
 	\CadreNoteSeyes{3}
 	%ligne pour un petit titre
-	\LignePapierSeyes[Echelle=1.5,Ligne=9,Couleur=ForestGreen]{\sffamily\underline{Exercice 1 :}}
+	\LignePapierSeyes[Echelle=1.5,Ligne=9,Couleur=green!50!black]{\sffamily\underline{Exercice 1 :}}
 	%un paragraphe de quelques lignes
 	\ParagraphePapierSeyes[Ligne=10]{\cursive\lipsum[1]}
 	%un paragraphe avec des maths
@@ -617,7 +635,7 @@
 	%cadre de notes
 	\CadreNoteSeyes{3}
 	%ligne pour un petit titre
-	\LignePapierSeyes[Echelle=1.5,Ligne=9,Couleur=ForestGreen]{\sffamily\underline{Exercice 1 :}}
+	\LignePapierSeyes[Echelle=1.5,Ligne=9,Couleur=green!50!black]{\sffamily\underline{Exercice 1 :}}
 	%un paragraphe de quelques lignes
 	\ParagraphePapierSeyes[Ligne=10]{\cursive\lipsum[1]}
 	%un paragraphe avec des maths
@@ -687,7 +705,7 @@
 	\LignePapierCinqCinq[Echelle=1.25,Ligne=1]{C. PIERQUET \hfill LaTeX}
 	\LignePapierCinqCinq[Echelle=1.25,Ligne=3,Couleur=red]<center>{\underline{\cursive\bfseries Devoir 2}}
 	\CadreNoteCinqCinq{4}
-	\LignePapierCinqCinq[Echelle=1.25,Ligne=9,Couleur=ForestGreen]{\sffamily\underline{Exercice 1 :}}
+	\LignePapierCinqCinq[Echelle=1.25,Ligne=9,Couleur=green!50!black]{\sffamily\underline{Exercice 1 :}}
 	\ParagraphePapierCinqCinq[Ligne=11]{\cursive\lipsum[1]}
 	\ParagraphePapierCinqCinq[Ligne=30]
 	{%
@@ -704,7 +722,7 @@
 	\LignePapierRuled[Echelle=1.25,Ligne=1]{C. PIERQUET \hfill LaTeX}
 	\LignePapierRuled[Echelle=1.25,Ligne=2,Couleur=red]<center>{\underline{\cursive\bfseries Devoir 3}}
 	\CadreNoteRuled{3}
-	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=ForestGreen]{\sffamily\underline{Exercice 1 :}}
+	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=green!50!black]{\sffamily\underline{Exercice 1 :}}
 	\ParagraphePapierRuled[Ligne=9]{\cursive\lipsum[1]}
 	\ParagraphePapierRuled[Ligne=22]
 	{%
@@ -722,7 +740,7 @@
 	\LignePapierCinqCinq[Echelle=1.25,Ligne=1]{C. PIERQUET \hfill LaTeX}
 	\LignePapierCinqCinq[Echelle=1.25,Ligne=3,Couleur=red]<center>{\underline{\cursive\bfseries Devoir 2}}
 	\CadreNoteCinqCinq{4}
-	\LignePapierCinqCinq[Echelle=1.25,Ligne=9,Couleur=ForestGreen]{\sffamily\underline{Exercice 1 :}}
+	\LignePapierCinqCinq[Echelle=1.25,Ligne=9,Couleur=green!50!black]{\sffamily\underline{Exercice 1 :}}
 	\ParagraphePapierCinqCinq[Ligne=11]{\cursive\lipsum[1]}
 	\ParagraphePapierCinqCinq[Ligne=30]
 	{%
@@ -739,7 +757,7 @@
 	\LignePapierRuled[Echelle=1.25,Ligne=1]{C. PIERQUET \hfill LaTeX}
 	\LignePapierRuled[Echelle=1.25,Ligne=2,Couleur=red]<center>{\underline{\cursive\bfseries Devoir 3}}
 	\CadreNoteRuled{3}
-	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=ForestGreen]{\sffamily\underline{Exercice 1 :}}
+	\LignePapierRuled[Echelle=1.25,Ligne=8,Couleur=green!50!black]{\sffamily\underline{Exercice 1 :}}
 	\ParagraphePapierRuled[Ligne=9]{\cursive\lipsum[1]}
 	\ParagraphePapierRuled[Ligne=22]
 	{%
@@ -752,6 +770,8 @@
 
 \section{Historique}
 
+\verb|v0.1.4|~:~~~~Modification de la gestion des couleurs (\texttt{xcolor} n'est plus chargé avec \textsf{[table,svgnames]})
+
 \verb|v0.1.3|~:~~~~Ajout d'une commande pour afficher (sans écrire dessus) une grille
 
 \verb|v0.1.2|~:~~~~Ajustement au niveau des couleurs + raccourcis couleurs par défaut

Modified: trunk/Master/texmf-dist/tex/latex/writeongrid/WriteOnGrid.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/writeongrid/WriteOnGrid.sty	2023-08-09 19:59:48 UTC (rev 67865)
+++ trunk/Master/texmf-dist/tex/latex/writeongrid/WriteOnGrid.sty	2023-08-09 19:59:57 UTC (rev 67866)
@@ -2,7 +2,8 @@
 % licence                        : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txtf
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{WriteOnGrid}[2023/03/18 v0.1.3 package to write on grid lines]
+\ProvidesPackage{WriteOnGrid}[2023/08/09 v0.1.4 package to write on grid lines]
+% 0.1.4		Suppression des options de xcolor (définition manuelle des couleurs)
 % 0.1.3		Ajout de commandes simples pour des mini-quadrillages autonomes, sans texte
 % 0.1.2		Modification locale des couleurs + raccourcis couleurs Seyes / Ruled
 % 0.1.1		Ajout de la couleur + modifications mineures + grille "Ruled" + grilles pleine page !
@@ -9,22 +10,30 @@
 % 0.1.0		Version initiale [fr] & [en]
 
 %------Packages utiles
-\RequirePackage[table,svgnames]{xcolor}
+%\RequirePackage[table,svgnames]{xcolor}
 \RequirePackage{tikz}
 \RequirePackage{simplekv}
 \RequirePackage{xstring}
-\RequirePackage{xparse}
 %librairies tikz
 \usetikzlibrary{calc,positioning}
 
 %------Variables
 \newcounter{lgquadri}%compteur des lignes, qui sera incrémenté
+
+%-----Couleurs utiles
 \definecolor{TyrianPurple}{rgb}{0.4,0.01,0.24}
-\def\CoulSeyes{Plum!75/LightSteelBlue!50}
-\def\CoulRuled{LightSteelBlue!50/TyrianPurple}
-\def\ColSeyes{Plum!75/LightSteelBlue!50}
-\def\ColRuled{LightSteelBlue!50/TyrianPurple}
+\definecolor{PapierRose}{HTML}{E6B8E6}
+\definecolor{PapierGris}{HTML}{D7E2EE}
+\def\CoulSeyes{PapierRose/PapierGris}
+\def\CoulRuled{PapierGris/TyrianPurple}
+\def\ColSeyes{PapierRose/PapierGris}
+\def\ColRuled{PapierGris/TyrianPurple}
 
+% \def\CoulSeyes{Plum!75/LightSteelBlue!50}
+% \def\CoulRuled{LightSteelBlue!50/TyrianPurple}
+% \def\ColSeyes{Plum!75/LightSteelBlue!50}
+% \def\ColRuled{LightSteelBlue!50/TyrianPurple}
+
 %------Commandes [fr]
 \newcommand\PasseLigne{\addtocounter{lgquadri}{1}}%passer une ligne
 
@@ -299,8 +308,8 @@
 	CouleurMarge=\xdef\SeyesFullCoulM{#1}
 }
 \setKVdefault[SeyesFull]{%
-	CouleurP=Plum!66,%
-	CouleurS=LightSteelBlue!33,%
+	CouleurP=PapierRose,%
+	CouleurS=PapierGris,%
 	CouleurMarge=red!75,
 	NumLignes=false
 }
@@ -465,7 +474,7 @@
 	CouleurMarge=\xdef\RuledFullCoulMarge{#1}
 }
 \setKVdefault[RuledFull]{%
-	Couleur=LightSteelBlue!50,%
+	Couleur=PapierGris,%
 	CouleurMarge=TyrianPurple,%
 	NumLignes=false
 }



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