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.sty7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
index 2c52b079e1a..e1ebe5b93fb 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
@@ -18,21 +18,24 @@
\LWR@ProvidesPackagePass{alltt}[1997/06/16]
\AfterEndPreamble{
\LWR@traceinfo{Patching alltt.}
+
\AtBeginEnvironment{alltt}{%
\ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}%
{}%
{%
\LWR@forcenewpage
- \LWR@atbeginverbatim{3}{alltt}%
+ \LWR@atbeginverbatim{alltt}%
}%
}
+
\AfterEndEnvironment{alltt}{%
\ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}%
{}%
{%
- \LWR@afterendverbatim{2}%
+ \LWR@afterendverbatim%
}%
}
+
}
\endinput
%%