[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `@center @image` removes leading vertical space

From: Gavin Smith
Subject: Re: `@center @image` removes leading vertical space
Date: Sat, 1 Oct 2022 16:57:26 +0100

On Sat, Oct 01, 2022 at 03:02:25PM +0000, Werner LEMBERG wrote:
> > I have committed the fix similar to the following, although I expect
> > it is not perfect: [...]
> Thanks.
> > You may notice that @center @image is still slightly closer than
> > @image after this change, but it looks acceptable to my eyes.
> Have a look at the attached archive, which shows an example where the
> vertical space before and after the image essentially vanishes.  This
> looks bad IMHO.  Maybe you can insert some uncompressable space to
> avoid this?  Or maybe there is another reason for the vanishing space?

I added some extra space in commit 2d1867cd03.  It's probably not perfect
either but hopefully it will be good enough.

> Under some circumstances it seems that `texinfo.tex` allows one more
> text line, causing even more compression of the vertical space.  I
> wasn't able to reproduce this easily; the attached image shows
> LilyPond's real-world example.

I don't really understand what you mean by "one more text line" here.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]