bug-texinfo
[Top][All Lists]
Advanced

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

Re: vertical shifting of inline images


From: Gavin Smith
Subject: Re: vertical shifting of inline images
Date: Thu, 22 Apr 2021 21:15:24 +0100

On Thu, Apr 22, 2021 at 9:04 PM Gavin Smith <gavinsmith0123@gmail.com> wrote:
> If you could explain what the use case was for an image inserted
> inside text, I might try to see if it could be achieved in TeX using a
> @macro.

I came up with the following which you could try, based on an earlier
file you sent. Here the image is lowered by a hard-coded amount. I
can't guarantee that this will always work properly, though.

\input texinfo

@iftex
@macro Image{args}
@lower 23pt @hbox{@image{\args\}}
@end macro
@end iftex

@ifnottex
@alias Image=image
@end ifnottex

test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
@Image{image}
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test

@bye

Attachment: image.pdf
Description: Adobe PDF document


reply via email to

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