summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dynblocks
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/dynblocks')
-rw-r--r--Master/texmf-dist/tex/latex/dynblocks/dynblocks.sty26
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/dynblocks/dynblocks.sty b/Master/texmf-dist/tex/latex/dynblocks/dynblocks.sty
index 361f1eee573..fbe3d929b64 100644
--- a/Master/texmf-dist/tex/latex/dynblocks/dynblocks.sty
+++ b/Master/texmf-dist/tex/latex/dynblocks/dynblocks.sty
@@ -1,5 +1,5 @@
% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-% Copyright 2012 Claudio Fiandrino
+% Copyright 2012-2014 Claudio Fiandrino
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -14,7 +14,7 @@
% The Current Maintainer of this work is Claudio Fiandrino.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{dynblocks}[2012/27/09 v0.2a A simple way to create dynamic blocks.]
+\ProvidesPackage{dynblocks}[2014/18/09 v0.2b A simple way to create dynamic blocks.]
\RequirePackage{tikz}
\RequirePackage{etoolbox}
\RequirePackage{xparse}
@@ -157,9 +157,9 @@
\setlength{\intdimension}{\z@}
\addtolength{\intdimension}{#2}
\ifbool{shadowed}{% true
-\node[visib=#2,dynvisible on=<#1>,drop shadow={opacity=\@shadowopacity,dynvisible on=<#1>}] (X) {\begingroup #3 \endgroup};
+\node[visib=#2,dynvisible on=<{#1}>,drop shadow={opacity=\@shadowopacity,dynvisible on=<{#1}>}] (X) {\begingroup #3 \endgroup};
}{% false
-\node[visib=#2,dynvisible on=<#1>] (X) {\begingroup #3 \endgroup};
+\node[visib=#2,dynvisible on=<{#1}>] (X) {\begingroup #3 \endgroup};
}
\savetext{mytext}{#3}
}
@@ -168,9 +168,9 @@
\setlength{\intdimension}{\z@}
\addtolength{\intdimension}{#2}
\ifbool{shadowed}{% true
-\node[fancyvisib=#2,dynvisible on=<#1>,drop shadow={opacity=\@shadowopacity,dynvisible on=<#1>}] (X) {\begingroup #3 \endgroup};
+\node[fancyvisib=#2,dynvisible on=<{#1}>,drop shadow={opacity=\@shadowopacity,dynvisible on=<{#1}>}] (X) {\begingroup #3 \endgroup};
}{% false
-\node[fancyvisib=#2,dynvisible on=<#1>] (X) {\begingroup #3 \endgroup};
+\node[fancyvisib=#2,dynvisible on=<{#1}>] (X) {\begingroup #3 \endgroup};
}
\savetext{mytext}{#3}
}
@@ -179,9 +179,9 @@
\setlength{\intdimension}{\z@}
\addtolength{\intdimension}{#2}
\ifbool{shadowed}{% true
-\node[vshadevisib=#2,dynvisible on=<#1>,drop shadow={opacity=\@shadowopacity,dynvisible on=<#1>}] (X) {\begingroup #3 \endgroup};
+\node[vshadevisib=#2,dynvisible on=<{#1}>,drop shadow={opacity=\@shadowopacity,dynvisible on=<{#1}>}] (X) {\begingroup #3 \endgroup};
}{% false
-\node[vshadevisib=#2,dynvisible on=<#1>] (X) {\begingroup #3 \endgroup};
+\node[vshadevisib=#2,dynvisible on=<{#1}>] (X) {\begingroup #3 \endgroup};
}
\savetext{mytext}{#3}
}
@@ -190,21 +190,21 @@
\setlength{\intdimension}{\z@}
\addtolength{\intdimension}{#2}
\ifbool{shadowed}{% true
-\node[oshadevisib=#2,dynvisible on=<#1>,drop shadow={opacity=\@shadowopacity,dynvisible on=<#1>}] (X) {\begingroup #3 \endgroup};
+\node[oshadevisib=#2,dynvisible on=<{#1}>,drop shadow={opacity=\@shadowopacity,dynvisible on=<{#1}>}] (X) {\begingroup #3 \endgroup};
}{% false
-\node[oshadevisib=#2,dynvisible on=<#1>] (X) {\begingroup #3 \endgroup};
+\node[oshadevisib=#2,dynvisible on=<{#1}>] (X) {\begingroup #3 \endgroup};
}
\savetext{mytext}{#3}
}
\NewDocumentCommand{\invblock}{r<>}{%
\ifbool{shadowed}{% true
-\node[invisib=\intdimension,dynvisible on=<#1>,drop shadow={opacity=\@shadowopacity,dynvisible on=<#1>}] (X) {\printthistext{\thethistext}};
+\node[invisib=\intdimension,dynvisible on=<{#1}>,drop shadow={opacity=\@shadowopacity,dynvisible on=<{#1}>}] (X) {\printthistext{\thethistext}};
}{% false
-\node[invisib=\intdimension,dynvisible on=<#1>] (X) {\printthistext{\thethistext}};
+\node[invisib=\intdimension,dynvisible on=<{#1}>] (X) {\printthistext{\thethistext}};
}
}
-\NewDocumentCommand{\dynalert}{r<> m}{\alt<#1>{\pgfsetfillopacity{1}\myalert{#2}\pgfsetfillopacity{\@invopacity}}{#2}}
+\NewDocumentCommand{\dynalert}{r<> m}{\alt<{#1}>{\pgfsetfillopacity{1}\myalert{#2}\pgfsetfillopacity{\@invopacity}}{#2}}
\endinput