summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty8
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]%