summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty15
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty
index 72c21192a19..0e3efd3dece 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty
@@ -29,10 +29,9 @@
\newenvironment{hangingpar}
{
\LWR@findhangingleftmargin%
- \uselengthunit{PT}%
\BlockClass[%
- \LWR@origmbox{margin-left:\rndprintlength{\LWR@templengthone}} ; %
- \LWR@origmbox{text-indent:-\rndprintlength{\hangingindent}}%
+ \LWR@origmbox{margin-left:\LWR@printlength{\LWR@templengthone}} ; %
+ \LWR@origmbox{text-indent:-\LWR@printlength{\hangingindent}}%
]%
{hangingpar}%
}
@@ -43,10 +42,9 @@
\renewcommand*{\LWR@printcloselist}{\LWR@printcloseitemize}%
\renewcommand*{\LWR@printopenlist}{%
\LWR@findhangingleftmargin%
- \uselengthunit{PT}%
ul style="\LWR@origmbox{list-style-type:none;} %
- \LWR@origmbox{margin-left:\rndprintlength{\LWR@templengthone}} ; %
- \LWR@origmbox{text-indent:-\rndprintlength{\hangingindent}}"%
+ \LWR@origmbox{margin-left:\LWR@printlength{\LWR@templengthone}} ; %
+ \LWR@origmbox{text-indent:-\LWR@printlength{\hangingindent}}"%
}%
\let\item\LWR@itemizeitem%
\list{}{}%
@@ -64,9 +62,8 @@
{%
\BlockClass[%
\LWR@findhangingleftmargin%
- \uselengthunit{PT}%
- \LWR@origmbox{margin-left:\rndprintlength{\LWR@templengthone}} ; %
- \LWR@origmbox{text-indent:-\rndprintlength{\hangingindent}}%
+ \LWR@origmbox{margin-left:\LWR@printlength{\LWR@templengthone}} ; %
+ \LWR@origmbox{text-indent:-\LWR@printlength{\hangingindent}}%
]{labeledpar}#2%
}
{\endBlockClass}