summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty9
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
index fe03c69cebe..277804e8f0d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
@@ -119,20 +119,19 @@
\NewDocumentEnvironment{addmargin}{s O{} m}
{
-\uselengthunit{PT}%
\setlength{\LWR@templengthtwo}{#3}
\ifblank{#2}
{
\begin{BlockClass}[
- \LWR@origmbox{margin-left:\rndprintlength{\LWR@templengthtwo}} ;
- \LWR@origmbox{margin-right:\rndprintlength{\LWR@templengthtwo}}
+ \LWR@origmbox{margin-left:\LWR@printlength{\LWR@templengthtwo}} ;
+ \LWR@origmbox{margin-right:\LWR@printlength{\LWR@templengthtwo}}
]{addmargin}
}
{
\setlength{\LWR@templengthone}{#2}
\begin{BlockClass}[
- \LWR@origmbox{margin-left:\rndprintlength{\LWR@templengthone}} ;
- \LWR@origmbox{margin-right:\rndprintlength{\LWR@templengthtwo}}
+ \LWR@origmbox{margin-left:\LWR@printlength{\LWR@templengthone}} ;
+ \LWR@origmbox{margin-right:\LWR@printlength{\LWR@templengthtwo}}
]{addmargin}
}
}