diff options
Diffstat (limited to 'macros/latex/contrib/tcolorbox/tcbskins.code.tex')
-rw-r--r-- | macros/latex/contrib/tcolorbox/tcbskins.code.tex | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/macros/latex/contrib/tcolorbox/tcbskins.code.tex b/macros/latex/contrib/tcolorbox/tcbskins.code.tex index 51a7722f77..3fbad78584 100644 --- a/macros/latex/contrib/tcolorbox/tcbskins.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbskins.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26) +%% The LaTeX package tcolorbox - version 6.2.0 (2024/01/10) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2023 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2024 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.1.0} +\tcb@set@library@version{6.2.0} \RequirePackage{tikz}[2010/10/13] \RequirePackage{tikzfill.image} @@ -1720,7 +1720,7 @@ \cs_new:Npn \__tcobox_include_graphics:nn #1#2 { - \includegraphics [#1] {#2} + \includegraphics [{#1}] {#2} } \cs_generate_variant:Nn \__tcobox_include_graphics:nn {en} @@ -1730,27 +1730,27 @@ \int_compare:nNnT \kvtcb@graphics@orientation > {-1} { - \hbox_set:Nn \l_tmpa_box + \hbox_set:Nn \l__tcobox_tmpa_box { \__tcobox_include_graphics:en { \l__tcobox_graphics_options_tl }{ \imagepath } } \if_case:w \kvtcb@graphics@orientation - \dim_compare:nNnT {\box_wd:N\l_tmpa_box} < {\box_ht_plus_dp:N \l_tmpa_box} + \dim_compare:nNnT {\box_wd:N\l__tcobox_tmpa_box} < {\box_ht_plus_dp:N \l__tcobox_tmpa_box} { \tl_put_right:Nn \l__tcobox_graphics_options_tl {,angle=90} } \or: - \dim_compare:nNnT {\box_wd:N\l_tmpa_box} < {\box_ht_plus_dp:N \l_tmpa_box} + \dim_compare:nNnT {\box_wd:N\l__tcobox_tmpa_box} < {\box_ht_plus_dp:N \l__tcobox_tmpa_box} { \tl_put_right:Nn \l__tcobox_graphics_options_tl {,angle=-90} } \or: - \dim_compare:nNnT {\box_wd:N\l_tmpa_box} > {\box_ht_plus_dp:N \l_tmpa_box} + \dim_compare:nNnT {\box_wd:N\l__tcobox_tmpa_box} > {\box_ht_plus_dp:N \l__tcobox_tmpa_box} { \tl_put_right:Nn \l__tcobox_graphics_options_tl {,angle=90} } \or: - \dim_compare:nNnT {\box_wd:N\l_tmpa_box} > {\box_ht_plus_dp:N \l_tmpa_box} + \dim_compare:nNnT {\box_wd:N\l__tcobox_tmpa_box} > {\box_ht_plus_dp:N \l__tcobox_tmpa_box} { \tl_put_right:Nn \l__tcobox_graphics_options_tl {,angle=-90} } @@ -1769,14 +1769,14 @@ { \begin{tcolorbox} \__tcobox_include_graphics:en { \l__tcobox_graphics_options_tl,width=\linewidth,height=\tcbtextheight,keepaspectratio }{ \imagepath } - \end{tcolorbox} + \end{tcolorbox} } { \tl_if_empty:NTF \tcb@height@adjust { \begin{tcolorbox} \__tcobox_include_graphics:en { \l__tcobox_graphics_options_tl,width=\linewidth }{ \imagepath } - \end{tcolorbox}% + \end{tcolorbox} }{% height fill \begin{tcolorbox}[ underlay= @@ -1796,15 +1796,15 @@ \cs_new:Npn \__tcobox_include_graphics_preparefile:n #1 { - \file_parse_full_name:nNNN {#1} \l_tmpa_tl \imagename \l_tmpb_tl - \tl_put_right:NV \imagename \l_tmpb_tl + \file_parse_full_name:nNNN {#1} \l__tcobox_tmpa_tl \imagename \l__tcobox_tmpb_tl + \tl_put_right:NV \imagename \l__tcobox_tmpb_tl \tl_set_eq:NN \imagepath \imagename - \tl_if_empty:NF \l_tmpa_tl + \tl_if_empty:NF \l__tcobox_tmpa_tl { \tl_put_left:Nn \imagepath {/} - \tl_if_eq:NnF \l_tmpa_tl {/} + \tl_if_eq:NnF \l__tcobox_tmpa_tl {/} { - \tl_put_left:NV \imagepath \l_tmpa_tl + \tl_put_left:NV \imagepath \l__tcobox_tmpa_tl } } \tl_if_empty:NF \kvtcb@graphics@directory |