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: Werner LEMBERG
Subject: Re: within \markup, how to \translate by width of another markup?
Date: Tue, 17 May 2022 05:49:01 +0000 (UTC)

> Sth like
> 
> \markup \box \number \column \with-dimensions-from \right-align "0"
> \right-align { 11 10 6 5 4 3 2 1 }

While this is an ingenious solution – thanks! – it doesn't fit my
needs, alas, since two-digit numbers stick out to the left of the box.
This is exacerbated by the fact that in figured bass there are
sometimes prepended symbols like '#' – this can cause collisions with
other figured bass stacks on the left side in tight typesetting
situations.

In other words, the horizontal dimension of your solution is (0 . 100)
with some stuff sticking out to the left.  What I want is (-50 . 100),
without something sticking out to the left.

AFAICS, we are back to square one, needing the possibility to
`\translate` something by the width of another markup.  I will cook
something up and see how well it works.


    Werner

reply via email to

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