summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tcolorbox/tcbhooks.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tcolorbox/tcbhooks.code.tex')
-rw-r--r--macros/latex/contrib/tcolorbox/tcbhooks.code.tex11
1 files changed, 8 insertions, 3 deletions
diff --git a/macros/latex/contrib/tcolorbox/tcbhooks.code.tex b/macros/latex/contrib/tcolorbox/tcbhooks.code.tex
index f3197fbcf5..dd06324a65 100644
--- a/macros/latex/contrib/tcolorbox/tcbhooks.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbhooks.code.tex
@@ -1,8 +1,8 @@
-%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07)
+%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22)
%% tcbhooks.code.tex: Code for adding hooks
%%
%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+%% Copyright (c) 2006-2022 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
%% -------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{5.0.2}
+\tcb@set@library@version{5.1.0}
\tcbset{%
before upper app/.code={\appto\kvtcb@before@upper{#1}},%
@@ -40,6 +40,11 @@
after app/.code={\appto\kvtcb@afterbox{#1}},%
after pre/.code={\preto\kvtcb@afterbox{#1}},%
%
+ before float app/.code={\appto\kvtcb@beforefloat{#1}},%
+ before float pre/.code={\preto\kvtcb@beforefloat{#1}},%
+ after float app/.code={\appto\kvtcb@afterfloat{#1}},%
+ after float pre/.code={\preto\kvtcb@afterfloat{#1}},%
+ %
overlay unbroken app/.code={\appto\tcb@overlay@unbroken{#1}},%
overlay unbroken pre/.code={\preto\tcb@overlay@unbroken{#1}},%
overlay first app/.code={\appto\tcb@overlay@first{#1}},%