lilypond-user
[Top][All Lists]
Advanced

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

Re: within \markup, how to \translate by width of another markup?


From: David Kastrup
Subject: Re: within \markup, how to \translate by width of another markup?
Date: Mon, 16 May 2022 15:25:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Werner LEMBERG <wl@gnu.org> writes:

> Within a markup, I want to `\translate` an object by the x-extent of
> another markup.  How can I do that?
>
> While we have `\with-dimensions` and friends to adjust the size of an
> object, it seems to me that we don't have something similar for
> offsets...  Would it be necessary to define
> `\translate-with-dimensions` and similar commands?

Can't you just concat a \with-dimensions ... \null together with what
you want to see shifted?

-- 
David Kastrup



reply via email to

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