summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-niceframe.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-niceframe.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-niceframe.sty12
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-niceframe.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-niceframe.sty
index dd6e4bf94a2..65338ed81c3 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-niceframe.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-niceframe.sty
@@ -6,7 +6,7 @@
%%
%% lwarp.dtx (with options: `niceframe')
%% This is a generated file.
-%% Copyright 2016-2019 Brian Dunn
+%% Copyright 2016-2020 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -16,11 +16,13 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{niceframe}% the original date is in yyyy/dd/mm format
-\newcommand{\LWR@niceframe}[3]{
- \setlength{\LWR@templengthone}{#1}
- \begin{BlockClass}[max-width:\LWR@printlength{\LWR@templengthone}]{#3}
+\newcommand{\LWR@niceframe}[3]{%
+ \begin{LWR@setvirtualpage}*%
+ \setlength{\LWR@templengthone}{#1}%
+ \begin{BlockClass}[max-width:\LWR@printlength{\LWR@templengthone}]{#3}%
#2
- \end{BlockClass}
+ \end{BlockClass}%
+ \end{LWR@setvirtualpage}%
}
\newcommand{\niceframe}[2][\textwidth]{\LWR@niceframe{#1}{#2}{niceframe}}