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 22:44:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Werner LEMBERG <wl@gnu.org> writes:

>>> * Single-digit numbers are left-aligned.
>> 
>> Why?  They have equal width.  Do you rather mean that the reference
>> point is supposed to be on the left edge?
>
> Yes.  Sorry for the sloppy wording.
>
>> What is the alignment supposed to be if there are _only_ two-digit
>> numbers?
>
> This situation doesn't happen in figured bass.  Even if there is no
> single-digit number (which is very unlikely), the two-digit number has
> to be aligned as shown in the drawing to get the positioning right
> under the corresponding music.

Sth like

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

-- 
David Kastrup



reply via email to

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