diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-20 23:14:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-20 23:14:24 +0000 |
commit | b04039458a9af5fcac6c9f8c530489d18cefe77c (patch) | |
tree | 6017fa54e2e0f886dc2da05959d8ddb9f311e6cb /Master/texmf-dist/tex/latex | |
parent | c2c5e51a2f454ab01173e558c7489e98cdb52282 (diff) |
tcolorbox (20apr12)
git-svn-id: svn://tug.org/texlive/trunk@26072 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
5 files changed, 269 insertions, 46 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index af67fc2327c..2745ced459c 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 1.20 (2012/03/16) +%% The LaTeX package tcolorbox - version 1.30 (2012/04/20) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex index 7da6520d564..90402d26999 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 1.20 (2012/03/16) +%% The LaTeX package tcolorbox - version 1.30 (2012/04/20) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -43,18 +43,33 @@ \tcbuselistingtext% } +\def\tcb@listing@listingAndComment{% + \tcbuselistinglisting% + \tcblower% + \kvtcb@listingcomment% +} + \def\tcb@listing@textAndListing{% \tcbuselistingtext% \tcblower% \tcbuselistinglisting% } +\def\tcb@listing@commentAndListing{% + \kvtcb@listingcomment% + \tcblower% + \tcbuselistinglisting% +} + \tcbset{ listing file/.store in=\kvtcb@listingfile, listing options/.store in=\kvtcb@listingoptions, + comment/.store in=\kvtcb@listingcomment, listing style/.style={listing options={style=#1}}, listing and text/.code={\let\tcp@listing@process\tcb@listing@listingAndText}, text and listing/.code={\let\tcp@listing@process\tcb@listing@textAndListing}, + listing and comment/.code={\let\tcp@listing@process\tcb@listing@listingAndComment}, + comment and listing/.code={\let\tcp@listing@process\tcb@listing@commentAndListing}, listing only/.code={\let\tcp@listing@process\tcbuselistinglisting}, text only/.code={\let\tcp@listing@process\tcbuselistingtext}, } @@ -62,6 +77,7 @@ \tcbset{ listing file=\jobname.listing, listing style=tcblatex, + comment=, listing and text, } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex new file mode 100644 index 00000000000..fcafaca3206 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -0,0 +1,193 @@ +%% The LaTeX package tcolorbox - version 1.30 (2012/04/20) +%% tcbskins.code.tex: Code for colorboxes with different skins +%% +%% ------------------------------------------------------------------------------------------- +%% Copyright (c) 2006-2012 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% ------------------------------------------------------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `author-maintained'. +%% +%% This work consists of all files listed in README +%% +\makeatletter +\def\tcblibrary@skins@loaded{} + +\RequirePackage{tikz}[2010/10/13] + +\def\tcb@creategeonodes@true{% + \begin{scope}[every node/.style={line width=0mm,inner sep=0mm,draw=none,fill=none,rectangle}] + \node[name=frame,at={(0,0)},above right,minimum width=\kvtcb@width,minimum height=\tcb@height]{}; + \node[name=interior,at={({\kvtcb@boxrule},{\kvtcb@boxrule})},above right,minimum width=\kvtcb@width-\kvtcb@boxrule*2,minimum height=\tcb@innerheight]{}; + \iftcb@lowerspace% + \node[name=segmentation,at={({\kvtcb@boxrule},{\kvtcb@boxrule+\kvtcb@boxsep*2+\kvtcb@bottom+\tcb@height@lower})},above right, + minimum width=\kvtcb@width-\kvtcb@boxrule*2,minimum height=\kvtcb@middle*2]{}; + \fi% + \end{scope}% +} + +% fill frame +\def\tcb@drawframe@path{% + \path[fill=\kvtcb@colframe,rounded corners=\kvtcb@arc+\kvtcb@boxrule,frame@style] + (frame.south west) rectangle (frame.north east);% +} + +% fill inner box with title +\def\tcb@drawwithtitle@path{% + \path[fill=\kvtcb@colback,interior@style] (interior.north west) + --(interior.north east)[rounded corners=\kvtcb@arc] + --(interior.south east)--(interior.south west)[sharp corners] + -- cycle;% +} + +% fill inner box without title +\def\tcb@drawwithouttitle@path{% + \path[fill=\kvtcb@colback,rounded corners=\kvtcb@arc,interior@style] + (interior.south west) rectangle (interior.north east);% +} + +% draw segmentation line +\def\tcb@drawlower@path{% + \path[draw=\kvtcb@colframe,dashed,segmentation@style] + (segmentation.west)--(segmentation.east);% +} + +\def\tcb@drawframe@freelance{\tcb@frame@code} +\def\tcb@drawwithtitle@freelance{\tcb@interiortitled@code} +\def\tcb@drawwithouttitle@freelance{\tcb@interior@code} +\def\tcb@drawlower@freelance{\tcb@segmentation@code} + +\tcbset{% + frame style/.code={\tikzset{frame@style/.style={#1}}},% + frame code/.code={\def\tcb@frame@code{#1}},% + frame code/.default=\tcb@drawframe@standard,% + interior style/.code={\tikzset{interior@style/.style={#1}}},% + interior titled code/.code={\def\tcb@interiortitled@code{#1}},% + interior titled code/.default=\tcb@drawwithtitle@standard,% + interior code/.code={\def\tcb@interior@code{#1}},% + interior code/.default=\tcb@drawwithouttitle@standard,% + segmentation style/.code={\tikzset{segmentation@style/.style={#1}}},% + segmentation code/.code={\def\tcb@segmentation@code{#1}},% + segmentation code/.default=\tcb@drawlower@standard,% + colbacklower/.store in=\kvtcb@colbacklower,% +} + +\tcbset{% + frame style=,% + interior style=,% + segmentation style=,% + frame code,% + interior titled code,% + interior code,% + segmentation code,% + colbacklower=black!15!white, +} + +\tcbset{skin@enhanced/.style={% + graphical environment=tikzpicture,geometry nodes, + frame engine=path,interior titled engine=path, + interior engine=path,segmentation engine=path +}} + +\tcbset{skin@freelance/.style={% + graphical environment=tikzpicture,geometry nodes, + frame engine=freelance,interior titled engine=freelance, + interior engine=freelance,segmentation engine=freelance +}} + +\tcbset{skin@bicolor/.style={% + graphical environment=tikzpicture,geometry nodes, + frame engine=path,interior titled engine=freelance, + interior engine=freelance,segmentation engine=freelance, + interior style=, + interior titled code={% + \iftcb@lowerspace% + \path[fill=\kvtcb@colback,interior@style] + (segmentation.west) rectangle (interior.north east);% + \else% + \path[fill=\kvtcb@colback,interior@style] + (interior.north west)--(interior.north east)[rounded corners=\kvtcb@arc] + --(interior.south east)--(interior.south west)[sharp corners] + -- cycle;% + \fi}, + interior code={% + \iftcb@lowerspace% + \path[fill=\kvtcb@colback,interior@style] + (segmentation.east)--(segmentation.west)[rounded corners=\kvtcb@arc] + -- (interior.north west)--(interior.north east)[sharp corners] + -- cycle;% + \else% + \path[fill=\kvtcb@colback,rounded corners=\kvtcb@arc,interior@style] + (interior.south west) rectangle (interior.north east);% + \fi}, + segmentation code={% + \path[fill=\kvtcb@colbacklower,segmentation@style] + ([yshift=0.1mm]segmentation.west)--([yshift=0.1mm]segmentation.east)[rounded corners=\kvtcb@arc] + --(interior.south east)--(interior.south west)[sharp corners] + -- cycle;}% +}} + +\tcbset{skin@beamer/.style={% + graphical environment=tikzpicture,geometry nodes, + frame engine=path,interior titled engine=freelance, + interior engine=freelance,segmentation engine=freelance, + boxrule=0mm,arc=2mm,frame style={fill=\kvtcb@colframe,drop shadow}, + fonttitle=\bfseries,interior style=, + interior titled code={% + \iftcb@lowerspace% + \path[top color=\kvtcb@colback,bottom color=\kvtcb@colback!85!black,interior@style] + (segmentation.west) rectangle (interior.north east);% + \else% + \path[top color=\kvtcb@colback,bottom color=\kvtcb@colback!85!black,interior@style] + (interior.north west)--(interior.north east)[rounded corners=\kvtcb@arc] + --(interior.south east)--(interior.south west)[sharp corners] + -- cycle;% + \fi% + \path[top color=\kvtcb@colframe,bottom color=\kvtcb@colback] + ([yshift=-0.5mm]interior.north west) rectangle + ([yshift=0.5mm]interior.north east);}, + interior code={% + \iftcb@lowerspace% + \path[top color=\kvtcb@colback,bottom color=\kvtcb@colback!85!black,interior@style] + (segmentation.east)--(segmentation.west)[rounded corners=\kvtcb@arc] + -- (interior.north west)--(interior.north east)[sharp corners] + -- cycle;% + \else% + \path[top color=\kvtcb@colback,bottom color=\kvtcb@colback!85!black,rounded corners=\kvtcb@arc,interior@style] + (interior.south west) rectangle (interior.north east);% + \fi}, + segmentation code={% + \path[top color=\kvtcb@colback,bottom color=\kvtcb@colback!85!black,interior@style] + (segmentation.west)--(segmentation.east)[rounded corners=\kvtcb@arc] + --(interior.south east)--(interior.south west)[sharp corners] + -- cycle;}% +}} + +\tcbset{skin@widget/.style={% + graphical environment=tikzpicture,geometry nodes, + frame engine=path,interior titled engine=freelance, + interior engine=freelance,segmentation engine=freelance, + arc=0.5mm,frame style={fill=\kvtcb@colframe}, + interior style=,segmentation style=,fonttitle=\bfseries, + interior titled code={% + \path[fill=\kvtcb@colback,rounded corners=\kvtcb@arc,interior@style] + (interior.south west) rectangle ([xshift={-\kvtcb@boxrule},yshift={-\kvtcb@boxrule}]frame.north east); + \path[left color=\kvtcb@colframe!75!white,right color=\kvtcb@colframe!75!white!25!\kvtcb@colback,interior@style] + (interior.north east)--(interior.north west)[rounded corners=\kvtcb@arc] + -- ([xshift={\kvtcb@boxrule},yshift={-\kvtcb@boxrule}]frame.north west)--([xshift={-\kvtcb@boxrule},yshift={-\kvtcb@boxrule}]frame.north east)[sharp corners] + -- cycle;}, + interior code={% + \path[fill=\kvtcb@colback,rounded corners=\kvtcb@arc,interior@style] + (interior.south west) rectangle (interior.north east);}, + segmentation code={% + \path[left color=\kvtcb@colframe!75!white,right color=\kvtcb@colframe!75!white!25!\kvtcb@colback,segmentation@style] + ([yshift={-\kvtcb@middle/4}]segmentation.west) rectangle ([yshift={\kvtcb@middle/4}]segmentation.east);}% +}} + diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex index c5109fa8c12..3df36745355 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 1.20 (2012/03/16) +%% The LaTeX package tcolorbox - version 1.30 (2012/04/20) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty index 2a1da7a1e92..e776c56bf1b 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 1.20 (2012/03/16) +%% The LaTeX package tcolorbox - version 1.30 (2012/04/20) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2012/03/16 version 1.20 text color boxes] +\ProvidesPackage{tcolorbox}[2012/04/20 version 1.30 text color boxes] \RequirePackage{pgf}[2008/01/15] \RequirePackage{calc}[2007/08/22] @@ -29,6 +29,7 @@ \newif\iftcb@lowervisible \newif\iftcb@hasTitle \newif\iftcb@hasLower +\newif\iftcb@lowerspace \newsavebox{\tcb@titlebox} \newsavebox{\tcb@upperbox} @@ -63,7 +64,9 @@ arc/.store in=\kvtcb@arc, colback/.store in=\kvtcb@colback, colframe/.store in=\kvtcb@colframe, - coltext/.store in=\kvtcb@coltext, + colupper/.store in=\kvtcb@colupper, + collower/.store in=\kvtcb@collower, + coltext/.style={colupper=#1,collower=#1}, coltitle/.store in=\kvtcb@coltitle, fonttitle/.store in=\kvtcb@fonttitle, fontupper/.store in=\kvtcb@fontupper, @@ -94,21 +97,33 @@ split/.code={\def\tcb@height@fraction{#1}\let\tcb@ch@fixed@both=\tcb@ch@fixed@split}, valign/.store in=\kvtcb@valign, valign lower/.store in=\kvtcb@valignlower, - skin/.store in=\kvtcb@skin, + %skin/.store in=\kvtcb@skin, enlarge top by/.store in=\kvtcb@bbtop, enlarge bottom by/.store in=\kvtcb@bbbottom, enlarge left by/.store in=\kvtcb@bbleft, enlarge right by/.store in=\kvtcb@bbright, toggle enlargement/.store in=\kvtcb@bbtoggle, + graphical environment/.store in=\kvtcb@graphenv, + frame engine/.store in=\kvtcb@engine@frame, + interior titled engine/.store in=\kvtcb@engine@interiortitled, + interior engine/.store in=\kvtcb@engine@interior, + segmentation engine/.store in=\kvtcb@engine@segmentation, + geometry nodes/.store in=\kvtcv@geonodes, + geometry nodes/.default=true,% + skin@standard/.style={frame engine=standard,interior titled engine=standard, + interior engine=standard,segmentation engine=standard,graphical environment=pgfpicture, + geometry nodes=false}, + skin/.style={skin@#1}, } \tcbset{notitle,width=\linewidth,boxsep=1mm,boxrule=0.5mm, left=4mm,right=4mm,top=2mm,bottom=2mm,middle=2mm,arc=1mm,lowerbox=visible, - colback=black!5,colframe=black!75,coltext=black,coltitle=white, + colback=black!5!white,colframe=black!75!white,coltext=black,coltitle=white, fonttitle=,fontupper=,fontlower=,floatplacement=htb,nofloat,savelowerto=, - parskip,savedelimiter={tcolorbox},tempfile={\jobname.tcbtemp},skin=standard, + parskip,savedelimiter={tcolorbox},tempfile={\jobname.tcbtemp}, enlarge top by=0mm,enlarge bottom by=0mm,enlarge left by=0mm,enlarge right by=0mm, toggle enlargement=none, + skin=standard, }% @@ -127,10 +142,10 @@ \def\endtcb@lrbox{\unskip\endminipage\unskip\color@endgroup} \def\tcb@saveupperbox{% -\begin{tcb@lrbox}{\tcb@upperbox}{\tcb@widthupper}\color{\kvtcb@coltext}\kvtcb@fontupper\ignorespaces} +\begin{tcb@lrbox}{\tcb@upperbox}{\tcb@widthupper}\color{\kvtcb@colupper}\kvtcb@fontupper\ignorespaces} \def\tcb@savelowerbox{% - \begin{tcb@lrbox}{\tcb@lowerbox}{\tcb@widthlower}\color{\kvtcb@coltext}\kvtcb@fontlower\ignorespaces} +\begin{tcb@lrbox}{\tcb@lowerbox}{\tcb@widthlower}\color{\kvtcb@collower}\kvtcb@fontlower\ignorespaces} % counter for float @@ -142,10 +157,10 @@ \def\c@tcbfloat{\c@float@type}% tricking the caption package } -\def\tcb@colorbox{% +\long\def\tcb@colorbox{% \@ifnextchar[{\tcb@@icolorbox}{\tcb@@icolorbox[]}} -\def\tcb@@icolorbox[#1]{% +\long\def\tcb@@icolorbox[#1]{% % setting the keys \tcbset{#1}% \tcb@hasLowerfalse% @@ -195,10 +210,10 @@ \edef\tcb@height{\tcb@natheight}% \setlength{\tcb@textdim}{\ht\tcb@upperbox+\dp\tcb@upperbox}% \edef\tcb@height@upper{\the\tcb@textdim}% - \iftcb@hasLower\iftcb@lowerignored\else% + \iftcb@lowerspace% \setlength{\tcb@textdim}{\ht\tcb@lowerbox+\dp\tcb@lowerbox}% \edef\tcb@height@lower{\the\tcb@textdim}% - \fi\fi% + \fi% } \def\tcb@ch@fixed@upper{% @@ -228,9 +243,7 @@ \def\tcb@ch@fixed{% \edef\tcb@height{\tcb@height@fixed}% - \iftcb@hasLower% - \iftcb@lowerignored\tcb@ch@fixed@upper\else\tcb@ch@fixed@both\fi% - \else\tcb@ch@fixed@upper\fi% + \iftcb@lowerspace\tcb@ch@fixed@both\else\tcb@ch@fixed@upper\fi% } \def\tcb@saveehg#1{% @@ -255,9 +268,7 @@ \else \edef\tcb@height{\csname tcb@ehg@\tcb@ehgid @height\endcsname}% \fi}% - \iftcb@hasLower% - \iftcb@lowerignored\tcb@ch@fixed@upper\else\tcb@ch@fixed@both\fi% - \else\tcb@ch@fixed@upper\fi% + \iftcb@lowerspace\tcb@ch@fixed@both\else\tcb@ch@fixed@upper\fi% } \def\tcb@dbox@top#1#2#3#4{\pgftext[x=#1,y=#2+#3,left,top]{\usebox{#4}}}% @@ -268,10 +279,6 @@ \tcbset{natural height,space to lower,valign=top,valign lower=top} - -% graphical environment -\def\tcb@drawenv@standard{pgfpicture} - % fill frame \def\tcb@drawframe@standard{% \begin{pgfscope}% @@ -336,6 +343,8 @@ \ifodd\thepage\tcb@setbb@toggle@none\else\tcb@setbb@toggle@forced\fi% } +\def\tcb@creategeonodes@false{} + \def\tcb@drawcolorbox{% % floats \ifx\kvtcb@float\@empty% @@ -344,51 +353,55 @@ \edef\float@start{\noexpand\@float{tcbfloat}[\kvtcb@float]}% \newenvironment{tcb@float}{\float@start}{\end@float}% \fi% + \iftcb@hasLower% + \iftcb@lowerignored\tcb@lowerspacefalse\else\tcb@lowerspacetrue\fi% + \else\tcb@lowerspacefalse\fi% % computation of total height \setlength{\tcb@textdim}{\kvtcb@boxrule*2+\kvtcb@boxsep*2+\kvtcb@top+\kvtcb@bottom+\ht\tcb@upperbox+\dp\tcb@upperbox}% \iftcb@hasTitle\addtolength{\tcb@textdim}{\kvtcb@boxrule+\kvtcb@boxsep*2+\ht\tcb@titlebox+\dp\tcb@titlebox}\fi% - \iftcb@hasLower\iftcb@lowerignored\else% + \iftcb@lowerspace% \addtolength{\tcb@textdim}{\kvtcb@boxsep*2+\kvtcb@middle*2+\ht\tcb@lowerbox+\dp\tcb@lowerbox}% - \fi\fi% + \fi% \edef\tcb@natheight{\the\tcb@textdim}% \tcb@ch% - \begin{tcb@float}\begin{\csname tcb@drawenv@\kvtcb@skin\endcsname}% - %\pgfpathrectangle{\pgfpoint{0mm}{0mm}}{\pgfpoint{\kvtcb@width}{\tcb@height}}% + \iftcb@hasTitle% + \setlength{\tcb@textdim}{\tcb@height-\kvtcb@boxrule*3-\kvtcb@boxsep*2-\ht\tcb@titlebox-\dp\tcb@titlebox}% + \edef\tcb@innerheight{\the\tcb@textdim}% + \else% + \setlength{\tcb@textdim}{\tcb@height-\kvtcb@boxrule*2}% + \edef\tcb@innerheight{\the\tcb@textdim}% + \fi% + \begin{tcb@float}\begin{\kvtcb@graphenv}% \csname tcb@setbb@toggle@\kvtcb@bbtoggle\endcsname% \pgfusepath{use as bounding box}% + \csname tcb@creategeonodes@\kvtcv@geonodes\endcsname% % fill frame - \csname tcb@drawframe@\kvtcb@skin\endcsname% + \csname tcb@drawframe@\kvtcb@engine@frame\endcsname% + \iftcb@hasTitle% + \csname tcb@drawwithtitle@\kvtcb@engine@interiortitled\endcsname% + \else% + \csname tcb@drawwithouttitle@\kvtcb@engine@interior\endcsname% + \fi% + \iftcb@lowerspace% + \csname tcb@drawlower@\kvtcb@engine@segmentation\endcsname% + \fi% % set title \iftcb@hasTitle% \setlength{\tcb@textdim}{\tcb@height-\kvtcb@boxrule-\kvtcb@boxsep}% \pgftext[x=\kvtcb@boxrule+\kvtcb@boxsep+\kvtcb@lefttitle, y=\tcb@textdim,left,top]{\usebox{\tcb@titlebox}}% - % height of inner box - \addtolength{\tcb@textdim}{-\ht\tcb@titlebox-\dp\tcb@titlebox-\kvtcb@boxrule*2-\kvtcb@boxsep}% - \edef\tcb@innerheight{\the\tcb@textdim}% - % fill inner box with title - \csname tcb@drawwithtitle@\kvtcb@skin\endcsname% - \else% - \setlength{\tcb@textdim}{\tcb@height-\kvtcb@boxrule*2}% - \edef\tcb@innerheight{\the\tcb@textdim}% - % fill inner box without title - \csname tcb@drawwithouttitle@\kvtcb@skin\endcsname% \fi% % draw upper box \csname tcb@dbox@\kvtcb@valign\endcsname{\kvtcb@boxrule+\kvtcb@boxsep+\kvtcb@leftupper}% {\tcb@innerheight+\kvtcb@boxrule-\kvtcb@boxsep-\kvtcb@top-\tcb@height@upper}% {\tcb@height@upper}{\tcb@upperbox}% % draw lower box - \iftcb@hasLower\iftcb@lowerignored\else% - % draw segmentation line - \csname tcb@drawlower@\kvtcb@skin\endcsname% - \iftcb@lowervisible% + \iftcb@hasLower\iftcb@lowervisible% \csname tcb@dbox@\kvtcb@valignlower\endcsname{\kvtcb@boxrule+\kvtcb@boxsep+\kvtcb@leftlower}% {\kvtcb@boxrule+\kvtcb@boxsep+\kvtcb@bottom}% {\tcb@height@lower}{\tcb@lowerbox}% - \fi% \fi\fi% - \end{\csname tcb@drawenv@\kvtcb@skin\endcsname}\end{tcb@float}% + \end{\kvtcb@graphenv}\end{tcb@float}% } @@ -453,6 +466,7 @@ \tcb@add@library{listings}{tcblistings.code.tex} \tcb@add@library{theorems}{tcbtheorems.code.tex} \tcb@add@library{documentation}{tcbdocumentation.code.tex} +\tcb@add@library{skins}{tcbskins.code.tex} \ProcessOptions* \edef\tcb@temp{\noexpand\tcbuselibrary{\tcb@optionlist}} |