[texhax] strange behaviour with \parshape, list-like environment and minipage

VAFA KHALIGHI vafaklg at gmail.com
Mon Sep 26 09:53:27 CEST 2011


It seems that when you use \parshape inside vertical mode, say \vbox as an
example and you give no left indentation but shorter line width, the width
of \vbox will be equal to the current line width and and that causes the
problem. But I have not a found a solution. Maybe one can put minipage
inside "\hbox to \linewidth" but I do not think that it is a good solution.

On Mon, Sep 26, 2011 at 12:00 PM, VAFA KHALIGHI <vafaklg at gmail.com> wrote:

> Hi
>
> I thought that the attached minimal example should have indented from right
> when I made the change to \parshape in the definition of \list command but I
> am getting some strange behaviour that itemize environment is not indented
> from right. Do you know why? and perhaps how I can achieve the output I want
> (indented from right)?
>
> I also should add that with this change, itemize is indented from right in
> ordinary text (outside minipage) and inside minipage if I put \leavevmode,
> then it works as expected but that makes some vertical space before itemize
> environment which is not desired.
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110926/1e164749/attachment.html>


More information about the texhax mailing list