diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/scrambledenvs/scrambledenvs.sty | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/scrambledenvs/scrambledenvs.sty b/Master/texmf-dist/tex/latex/scrambledenvs/scrambledenvs.sty index 4033af5627b..3b44bedbeac 100644 --- a/Master/texmf-dist/tex/latex/scrambledenvs/scrambledenvs.sty +++ b/Master/texmf-dist/tex/latex/scrambledenvs/scrambledenvs.sty @@ -27,7 +27,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{scrambledenvs}[2021/07/31 v1.0.0 Create and print scrambled environments] +\ProvidesPackage{scrambledenvs}[2021/08/03 v1.0.1 Create and print scrambled environments] \RequirePackage{forloop} \RequirePackage{pgfmath} \pgfmathsetseed{2407} @@ -43,7 +43,6 @@ \newenvironment{#1s}{% \setcounter{scrambledenvs@#1@tempcount}{0}% \def\scrambledenvs@active{#1}% - \unskip\ignorespaces% } { \ifnum\value{scrambledenvs@#1@tempcount}=0\relax @@ -52,9 +51,9 @@ {\csname scrambledenvs@#1@labelfont\endcsname\csname scrambledenvs@#1@label\endcsname :} {\csname scrambledenvs@#1@reffont\endcsname\ref{#1:\value{scrambledenvs@#1@count}}}% \else - {\csname scrambledenvs@#1@labelfont\endcsname\csname scrambledenvs@#1@label\endcsname s:}% - \forloop{scrambledenvs@loopcount}{\the\numexpr\value{scrambledenvs@#1@count}-\value{scrambledenvs@#1@tempcount}+1\relax}{\value{scrambledenvs@loopcount}<\the\numexpr\value{scrambledenvs@#1@count}+1\relax} { - {\csname scrambledenvs@#1@reffont\endcsname\ref{#1:\thescrambledenvs@loopcount}}% + {\csname scrambledenvs@#1@labelfont\endcsname\csname scrambledenvs@#1@label\endcsname s:} + \forloop{scrambledenvs@loopcount}{\the\numexpr\value{scrambledenvs@#1@count}-\value{scrambledenvs@#1@tempcount}+1\relax}{\value{scrambledenvs@loopcount}<\the\numexpr\value{scrambledenvs@#1@count}+1\relax} {% + {\csname scrambledenvs@#1@reffont\endcsname\ref{#1:\thescrambledenvs@loopcount}} } \fi \fi |