[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `@image` doesn't respect top margin of text block
From: |
Gavin Smith |
Subject: |
Re: `@image` doesn't respect top margin of text block |
Date: |
Wed, 16 Feb 2022 20:22:24 +0000 |
On Tue, Feb 15, 2022 at 09:26:13PM +0000, Gavin Smith wrote:
> On Thu, Feb 10, 2022 at 11:12:52AM +0000, Werner LEMBERG wrote:
> >
> > As the example shows, an image located at the top of the page doesn't
> > correctly respect the top margin of the text block. If this
> > intentional it should be documented.
> >
> >
> > Werner
>
> It's not intentional. The top margin of the page is set with \topskip
> glue. This is the distance to the baseline of the first line of text,
> at the top of the page. If the first item on the page is an image,
> the baseline of that image is used too. The problem is, I expect,
> that the baseline is considered to be at the bottom of the image, not
> at the top.
>
I made a change using \vtop in commit 6a2d4134cd. Please try it when you can.
I'll wait for feedback on this before making any changes for the other
issue you reported.