summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-20 21:58:20 +0000
committerKarl Berry <karl@freefriends.org>2018-02-20 21:58:20 +0000
commit6e85d755648b6c0966778e6c82dd2fff71c07756 (patch)
treeb35d043db63f8b087e5ff9a47164da95991e8551 /Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
parent4373b1d9ec9aeb43430cc8674422cc201c64ebfe (diff)
lwarp (20feb18)
git-svn-id: svn://tug.org/texlive/trunk@46689 c570f23f-e606-0410-a88d-b1316a301751
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}
}
}