The documentation of luatex says that \shapemode = 2 or 3 "mirrors"
a \parshape. But I see no effect. And also "Figure 2.1 The effect of
shapemode" in the documentation doesn't show any difference for the
parshapes. So how is it supposed to work? With hangindent the sides
are flipped as expected:

\input plipsum
\parindent=0pt
\parskip=1em
\hsize=10cm

\hangindent=1cm \hangafter=1 \lipsum{1}

\shapemode=3
\hangindent=1cm \hangafter=1 \lipsum{1}

\parshape 3 1cm \dimexpr\hsize-1cm\relax
            1cm \dimexpr\hsize-1cm\relax
            0cm \hsize
\lipsum{1}

\shapemode=3
\parshape 3 1cm \dimexpr\hsize-1cm\relax
            1cm \dimexpr\hsize-1cm\relax
            0cm \hsize
\lipsum{1}


\pardir TRT \textdir TRT
\parshape 3 1cm \dimexpr\hsize-1cm\relax
            1cm \dimexpr\hsize-1cm\relax
            0cm \hsize
\lipsum{1}

\shapemode=3
\pardir TRT \textdir TRT
\parshape 3 1cm \dimexpr\hsize-1cm\relax
            1cm \dimexpr\hsize-1cm\relax
            0cm \hsize
\lipsum{1}
\bye



-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

Reply via email to