summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
index c804306e340..6dea9a9a53c 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
@@ -19,7 +19,10 @@
\LWR@ProvidesPackagePass{alltt}
\AfterEndPreamble{
-\AtBeginEnvironment{alltt}{\LWR@atbeginverbatim{alltt}\unskip\vspace*{-\baselineskip}}
+\AtBeginEnvironment{alltt}{%
+\LWR@forcenewpage
+\LWR@atbeginverbatim{alltt}\unskip\vspace*{-\baselineskip}%
+}
\AfterEndEnvironment{alltt}{\unskip\vspace*{-\baselineskip}\LWR@afterendverbatim}
}