summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/scratch
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-20 22:38:00 +0000
committerKarl Berry <karl@freefriends.org>2017-09-20 22:38:00 +0000
commit403bdde66fe01f57d6643b37158be87e73be2d7a (patch)
treefce80e9e9825987d7e6f56a6dd62187a86dccd34 /Master/texmf-dist/tex/latex/scratch
parent7deee3c46bc9f30d8481c23f04f3c5a574d79493 (diff)
scratch (20sep17)
git-svn-id: svn://tug.org/texlive/trunk@45362 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/scratch')
-rw-r--r--Master/texmf-dist/tex/latex/scratch/scratch.sty46
1 files changed, 19 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/scratch/scratch.sty b/Master/texmf-dist/tex/latex/scratch/scratch.sty
index 18e21b8e0c1..ead25bbc802 100644
--- a/Master/texmf-dist/tex/latex/scratch/scratch.sty
+++ b/Master/texmf-dist/tex/latex/scratch/scratch.sty
@@ -4,38 +4,27 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
\def\scrname {scratch} %
-\def\scrver {0.31} %
+\def\scrver {0.32} %
% %
-\def\scrdate {2017/09/15} %
+\def\scrdate {2017/09/20} %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% --------------------------------------------------------------------
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or any later version.
-% The latest version of this license is in
-%
-% http://www.latex-project.org/lppl.txt
-%
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-% --------------------------------------------------------------------
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Christian Tellechea
-% email: unbonpetit@netc.fr
-% Commentaires, suggestions et signalement de bugs bienvenus !
-% Comments, bug reports and suggestions are welcome.
+% Author : Christian Tellechea
+% Status : Maintained
+% Maintainer : Christian Tellechea
+% Email : unbonpetit@netc.fr
% Package URL: https://www.ctan.org/pkg/scratch
% Bug tracker: https://framagit.org/unbonpetit/scratch/issues
-% Repository: https://framagit.org/unbonpetit/scratch/tree/master
-% Copyright: Christian Tellechea 2017
-% --------------------------------------------------------------------
-% L'extension scratch est composée des 4 fichiers suivants :
-% - code : scratch.sty
-% - manuel en français : scratch-fr (.tex et .pdf)
-% - fichier lisezmoi : README
+% Repository : https://framagit.org/unbonpetit/scratch/tree/master
+% Copyright : Christian Tellechea 2017
+% Licence : Released under the LaTeX Project Public License v1.3c
+% or later, see http://www.latex-project.org/lppl.txt
+% Files : 1) scratch.sty
+% 2) scratch-fr.tex
+% 3) scratch-fr.pdf
+% 4) README
% --------------------------------------------------------------------
\ProvidesPackage{scratch}[\scrdate\space v\scrver\space Draw scratch instructions (CT)]
\NeedsTeXFormat{LaTeX2e}
@@ -354,7 +343,7 @@
\edef\scr_current_linelight{\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}!\the\numexpr100-\useKV[\scrname]{contrast}\relax!white}%
\edef\scr_current_linedark {\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}!\the\numexpr100-\useKV[\scrname]{contrast}\relax!black}%
\edef\scr_current_textcolor{\ifboolKV[\scrname]{print}{\useKV[\scrname]{text color}}{white}}%
- \node[draw=none,inner xsep=0.2em,fill=\scr_current_fillcolor,text=\scr_current_textcolor](textmenu){\normalfont\sffamily#1\scr_ovalstrut\hskip.6666em \scr_menuselectarrow};
+ \node[rectangle,draw=none,inner xsep=0.2em,fill=\scr_current_fillcolor,text=\scr_current_textcolor](textmenu){\normalfont\sffamily#1\scr_ovalstrut\hskip.6666em \scr_menuselectarrow};
\draw[draw=\scr_current_linedark,line width=\scr_linewidth](textmenu.south west)--(textmenu.north west)--(textmenu.north east);
\draw[draw=\scr_current_linelight,line width=\scr_linewidth](textmenu.south west)--(textmenu.south east)--(textmenu.north east);
\end{tikzpicture}%
@@ -486,7 +475,7 @@
\def\scr_blockvariable{\scr_normalblock{scrvariable}}
\def\scr_blocklist{\scr_normalblock{scrlist}}
\def\ovalvariable{\scr_ovalbox{scrvariable}}
-\def\ovallist{\scr_ovalbox{scrvariable}}
+\def\ovallist{\scr_ovalbox{scrlist}}
\def\boollist{\scr_boolbox{scrlist}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -563,4 +552,7 @@ Versions :
| | | \scr_current_fillcolor |
| | | - Correction d'un bug dans le tracé des lignes de |
| | | relief dans \scr_ovalbox |
+|---------+------------+------------------------------------------------------|
+| 0.32 | 20/09/2017 | - le node de \selectmenu est désormais "rectangle" |
+| | | - la couleur de \ovallist est désormais correcte |
|---------+------------+------------------------------------------------------| \ No newline at end of file