summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-11 23:19:25 +0000
committerKarl Berry <karl@freefriends.org>2016-06-11 23:19:25 +0000
commitfbb20601c6298bc825560a5a048859d60217f14f (patch)
tree0dc74c0df4f8b0871933db4446ab68b3960c50fb /Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
parentd68a92426a296573336399c1252f21da178f1b75 (diff)
tcolorbox (2jun16)
git-svn-id: svn://tug.org/texlive/trunk@41383 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex19
1 files changed, 13 insertions, 6 deletions
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},%