Hi, \unexpanded\def\fastlocalframed[#1]#2[#3]#4% 3-4 {\bgroup \edef\currentframed{#1}% \pack_framed_initialize \setbox\b_framed_normal\hbox{#4}% \edef\p_framed_region{\framedparameter\c!region}% \ifx\p_framed_region\v!yes % maybe later named \pack_framed_add_region \fi - \getparameters[\currentframed][#3]% no \expanded ! + \setupcurrentframed[#3]% \edef\p_framed_rulethickness{\framedparameter\c!rulethickness}% also used in backgrounds \d_framed_frameoffset\framedparameter\c!frameoffset\relax % also used in backgrounds \edef\p_framed_frame{\framedparameter\c!frame}% \edef\p_framed_background{\framedparameter\c!background}% % not here, in calling macro: setups \pack_framed_remove_depth \ifx\p_framed_frame\v!overlay \else \ifx\p_framed_frame\v!none \else \ifx\p_framed_rulethickness\empty\else \d_framed_linewidth\p_framed_rulethickness\relax \fi \pack_framed_add_outline % real or invisible frame \fi\fi \ifx\p_framed_background\empty \else \edef\p_framed_backgroundoffset{\framedparameter\c!backgroundoffset}% \d_framed_backgroundoffset \ifx\p_framed_backgroundoffset\v!frame \d_framed_frameoffset \else \p_framed_backgroundoffset \fi \edef\p_framed_component{\framedparameter\c!component}% \pack_framed_add_background \fi \pack_framed_restore_depth \box\b_framed_normal \egroup} Wolfgang
participants (1)
-
Wolfgang Schuster