diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex | 38 |
1 files changed, 8 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index e402dd7da14..6906177bf6d 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 2.72 (2014/03/18) +%% The LaTeX package tcolorbox - version 2.80 (2014/03/31) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{2.72} +\tcb@set@library@version{2.80} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim @@ -326,12 +326,10 @@ \tcb@draw@color@box% } - \newcommand{\tcboxfit}[2][]{% \tcb@ox{capture=fitbox,#1}{#2}% } - \long\def\tcb@newtcboxfit#1#2{\expandafter\tcb@newcommand\csname#1\endcsname{\tcboxfit[#2,options@for=#1]}} \long\def\tcb@newtcboxfit@#1[#2]#3{\expandafter\tcb@newcommand\csname#1\endcsname[#2]{\tcboxfit[#3,options@for=#1]}} @@ -342,37 +340,17 @@ \@ifnextchar[{\tcb@newtcboxfit@@{#1}[#2]}{\tcb@newtcboxfit@{#1}[#2]}} \long\def\tcb@new@tcboxfit#1{% - \preto\tcb@new@colopt{savedelimiter=#1}% - \cslet{tcb@opt@#1}{\tcb@new@colopt}% \@ifnextchar[{\tcb@new@tcboxfit@{#1}}{\tcb@newtcboxfit{#1}}} -\long\def\tcb@new@tcboxfit@bs#1{% - \edef\tcb@temp{\noexpand\tcb@new@tcboxfit{\tcb@remove@bs{#1}}}% - \tcb@temp% -} - -\long\def\tcb@new@tcboxfit@opt#1#2{% - \tcb@proc@options@init{#2}{#1}% - \tcb@new@tcboxfit{#1}% -} - -\long\def\tcb@new@tcboxfit@opt@bs[#1]#2{% - \edef\tcb@temp{\noexpand\tcb@new@tcboxfit@opt{\tcb@remove@bs{#2}}}% - \tcb@temp{#1}% -} - -\long\def\new@tcboxfit{% - \def\tcb@new@colopt{}% - \@ifnextchar[{\tcb@new@tcboxfit@opt@bs}{\tcb@new@tcboxfit@bs}} - -\long\def\newtcboxfit{% +\def\newtcboxfit{% \let\tcb@newcommand\newcommand% - \new@tcboxfit} + \let\tcb@process@newtcolorbox@continue\tcb@new@tcboxfit% + \tcb@process@newcommand} -\long\def\renewtcboxfit{% +\def\renewtcboxfit{% \let\tcb@newcommand\renewcommand% - \new@tcboxfit} - + \let\tcb@process@newtcolorbox@continue\tcb@new@tcboxfit% + \tcb@process@newcommand} \tcbset{% reset@fitting/.style={% |