From fbb20601c6298bc825560a5a048859d60217f14f Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 11 Jun 2016 23:19:25 +0000
Subject: tcolorbox (2jun16)

git-svn-id: svn://tug.org/texlive/trunk@41383 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/tcolorbox/tcbvignette.code.tex          | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex')

diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
index 18b92028d32..393ff7cc2f1 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.91 (2016/04/27)
+%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
 %% tcbvignette.code.tex: Code for ornamental frames
 %%
 %% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
 %%
 %% This work consists of all files listed in README
 %%
-\tcb@set@library@version{3.91}
+\tcb@set@library@version{3.93}
 
 \tcbuselibrary{skins}
 
@@ -125,6 +125,7 @@
 
 \newcommand{\tcbvignette}[1]{%
   \ifdefined\pgfpictureid%
+    \begingroup%
     \tcbset{vig/.cd,#1}%
     \tcbdimto\tcb@vig@xA{\tcb@vig@xmin}%
     \tcbdimto\tcb@vig@xB{\tcb@vig@xmax}%
@@ -134,7 +135,10 @@
     \tcbdimto\tcb@vig@xb{\tcb@vig@xB-(\tcb@vig@size@east)}%
     \tcbdimto\tcb@vig@ya{\tcb@vig@yA+\tcb@vig@size@south}%
     \tcbdimto\tcb@vig@yb{\tcb@vig@yB-(\tcb@vig@size@north)}%
+    \begin{scope}[tcb@vig@scope]%
     \tcb@vig@draw%
+    \end{scope}
+    \endgroup%
   \else%
     \tcb@warning{'tcbvignette' was found outside a 'tikzpicture' environment and is ignored}%
   \fi%
@@ -168,6 +172,7 @@
   south style/.store in=\tcb@vig@style@south,
   east style/.store in=\tcb@vig@style@east,
   west style/.store in=\tcb@vig@style@west,
+  scope/.code={\tikzset{tcb@vig@scope/.style={#1}}},
   draw method/.is choice,
   draw method/direct/.code={\let\tcb@vig@draw\tcb@vig@draw@direct},%
   draw method/clipped/.code={\let\tcb@vig@draw\tcb@vig@draw@clipped},%
@@ -221,6 +226,7 @@
   },
   semi fade out/.default=white,
   %
+  scope=,
   draw method=direct,
   xmin=0pt,
   xmax=1cm,
@@ -234,10 +240,11 @@
 \tcbset{%
   finish@vignette/.style 2 args={finish #1={%
     \begin{tcbclipframe}\tcbvignette{%
-      north style={white,opacity=0.25},
-      east style={black!75,opacity=0.25},
-      south style={black,opacity=0.25},
-      west style={black!25,opacity=0.25},#2,inside node=frame
+      scope={transparency group,opacity=0.25},
+      north style=white,
+      east style=black!75,
+      south style=black,
+      west style=black!25,#2,inside node=frame
       }\end{tcbclipframe}}},
   finish vignette/.style={%
     finish@vignette={unbroken}{#1},%
-- 
cgit v1.2.3

