summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/xetex-bidi.def8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
index 12cf896b8ec..e2fc168d530 100644
--- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
@@ -126,8 +126,12 @@
\parindent\listparindent
\advance\linewidth -\rightmargin
\advance\linewidth -\leftmargin
- \advance\@totalleftmargin \leftmargin
- \if@RTL\parshape \@ne 0pt \linewidth\else\parshape \@ne \@totalleftmargin \linewidth\fi
+ \if@RTL
+ \advance\@totalleftmargin \rightmargin
+ \else
+ \advance\@totalleftmargin \leftmargin
+ \fi
+ \parshape \@ne \@totalleftmargin \linewidth
\ignorespaces}
\newenvironment{LTRitems}[1][\labelsep]
{\par\@RTLfalse