diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-16 20:46:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-16 20:46:53 +0000 |
commit | 1d543d293d1c8d586821f89ad4f9ef0bc5d368d7 (patch) | |
tree | 9e87b78d587685dcbac499544643fe46bd75d1f0 /Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex | |
parent | 6e0f4bb68148b7067ae458d0907df1aa9f493f93 (diff) |
tcolorbox (16mar15)
git-svn-id: svn://tug.org/texlive/trunk@36534 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index 7b4494f51cc..29926d0ccdc 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 3.40 (2015/01/14) +%% The LaTeX package tcolorbox - version 3.50 (2015/03/16) %% 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{3.40} +\tcb@set@library@version{3.50} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim @@ -251,11 +251,14 @@ \tcb@fit@warn@begin% % \def\tcb@fit@@boxsave##1{% + \tcbdimto\tcb@innerwidth{\kvtcb@width-\kvtcb@left@rule-\kvtcb@right@rule}% + \colorlet{tcbcol@origin}{.}% + \tcb@set@color{tcbcol@upper}% \begin{tcb@savebox}{\tcb@upperbox}{##1}% - \color{tcbcol@upper}% \kvtcb@fontupper\fontsize{\tcbfitdim}{\tcb@fit@@line}\selectfont% \kvtcb@before@upper\ignorespaces#1\unskip\kvtcb@after@upper% \end{tcb@savebox}% + \tcb@reset@color% \advance\count@ 1\relax% }% % |