diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-16 22:18:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-16 22:18:18 +0000 |
commit | 5fbe6260252c3a2f45ca811a7e3e46b9ececb0c8 (patch) | |
tree | 1e834c0a9eb4d3ad0e6d4c3d1e7aafc5ddc4fa26 /Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty | |
parent | 1b09f4bdca618bcbfca16d25489b96ab22875230 (diff) |
lwarp (14apr17)
git-svn-id: svn://tug.org/texlive/trunk@43857 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty index 0a1539046cf..905c723ac16 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty @@ -20,28 +20,33 @@ \renewenvironment{framed}{% +\LWR@forcenewpage \BlockClass{framed}% } {\endBlockClass} \renewenvironment{oframed}{% +\LWR@forcenewpage \BlockClass{framed}% } {\endBlockClass} \renewenvironment{shaded}{% \convertcolorspec{named}{shadecolor}{HTML}\LWR@tempcolor% +\LWR@forcenewpage \BlockClass{framed}[background: \#\LWR@tempcolor]% } {\endBlockClass} \renewenvironment{shaded*}{% \convertcolorspec{named}{shadecolor}{HTML}\LWR@tempcolor% +\LWR@forcenewpage \BlockClass{framed}[background: \#\LWR@tempcolor]% } {\endBlockClass} \renewenvironment{leftbar}{% +\LWR@forcenewpage \BlockClass{framedleftbar} \def\FrameCommand{}% \MakeFramed {} @@ -50,12 +55,14 @@ \renewenvironment{snugshade}{% \convertcolorspec{named}{shadecolor}{HTML}\LWR@tempcolor% +\LWR@forcenewpage \BlockClass{snugframed}[background: \#\LWR@tempcolor]% } {\endBlockClass} \renewenvironment{snugshade*}{% \convertcolorspec{named}{shadecolor}{HTML}\LWR@tempcolor% +\LWR@forcenewpage \BlockClass{snugframed}[background: \#\LWR@tempcolor]% } {\endBlockClass} @@ -69,6 +76,7 @@ \renewcommand{\CustomFBox}[7]{% \convertcolorspec{named}{TFFrameColor}{HTML}\LWR@tempcolor% +\LWR@forcenewpage \begin{BlockClass}{framed}[border: 3px solid \#\LWR@tempcolor]% \ifthenelse{\isempty{#1}}{}{% not empty \begin{BlockClass}{framedtitle}[background: \#\LWR@tempcolor]% |