summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/scratch3/scratch3.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/scratch3/scratch3.sty')
-rw-r--r--macros/latex/contrib/scratch3/scratch3.sty13
1 files changed, 10 insertions, 3 deletions
diff --git a/macros/latex/contrib/scratch3/scratch3.sty b/macros/latex/contrib/scratch3/scratch3.sty
index fe6ca27523..d28a8a3e2e 100644
--- a/macros/latex/contrib/scratch3/scratch3.sty
+++ b/macros/latex/contrib/scratch3/scratch3.sty
@@ -5,9 +5,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
\def\scrname {scratch3} %
-\def\scrver {0.17} %
+\def\scrver {0.18} %
% %
-\def\scrdate {2020/04/27} %
+\def\scrdate {2020/09/03} %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -400,8 +400,9 @@
\gdef\scr_blockstop{0}%
}
\newcommand*\scr_namemoreblocks[1]{%
- \begin{tikzpicture}%
+ \begin{tikzpicture}
\setscratch{num blocks=false}%
+ \scr_xoffset0pt \scr_yoffset\dimexpr\scr_corner+\scr_ysepsup\relax% bugfix 0.18
\definecolor{scrmoreblocks}{HTML}{ff4d6a}% choix couleur foncée pour tracé du bloc qui suit
\scr_normalblock{scrmoreblocks}{%
\definecolor{scrmoreblocks}{HTML}{ff6680}% rétablir couleur claire par défaut
@@ -1141,6 +1142,7 @@
sharp corners,
scale=0.4
]
+ \scr_normalizedim\scr_linewidth line width[0pt,5pt]% bugfix 0.18
\draw[
line width=\scr_linewidth,
draw={%
@@ -1246,4 +1248,9 @@ Versions :
| | | initialisée dans \initmoreblocks |
|---------+------------+------------------------------------------------------|
| 0.17 | 27/04/2020 | * 2 ou 3 modifs en rapport avec la v0.2 de simplekv |
+|---------+------------+------------------------------------------------------|
+| 0.18 | xx/xx/xxxx | * initialisation de \scr_yoffset et \scr_xoffset dans|
+| | | \scr_namemoreblocks |
+| | | * \scr_linewidth est désormais définie dans |
+| | | \greenflag |
|---------+------------+------------------------------------------------------| \ No newline at end of file