Trim unneeded TeX macros

This commit is contained in:
jfbu 2017-06-16 19:24:06 +02:00
parent 634d76faf1
commit 6f8d762747

View File

@ -708,11 +708,8 @@
% #2 = for material below frame, such as a caption or "continues on next page"
% #3 = actual contents, which will be typeset with a background color
\long\def\spx@CustomFBox#1#2#3{%
\leavevmode
\begingroup
\setbox\@tempboxa\hbox{{#3}}% inner braces to avoid color leaks
\hbox
{\lower\dimexpr\fboxrule+\dp\@tempboxa\hbox{%
\vbox{#1% above frame
% draw frame border _latest_ to avoid pdf viewer issue
\kern\fboxrule
@ -728,8 +725,6 @@
\hrule\@height\fboxrule
#2% below frame
}%
}%
}%
\endgroup
}%
\def\spx@fcolorbox@put@c#1{% hide width from framed.sty measuring