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: Mon, 16 May 2022 14:27:18 +0000 (UTC)

>> The problem at hand is stacking fixed-width single-digit and
>> two-digit numbers.  Single-digit numbers should be left-aligned for
>> various reasons:
>>
>> ```
>>   9
>>   8
>>   7
>> ```
>>
>> If there is a two-digit number, it should be right-aligned at the
>> right edge of the left-aligned single-digit numbers:
>>
>> ```
>>  10
>>   9
>>   8
>> ```
>>
>> My idea was to translate the two-digit number to the left by the
>> width of a single digit.
>>
>> Is there a solution for this with the current LilyPond markup
>> commands?
>
> I don't understand why you wouldn't use alignment commands for
> aligning numbers.

I would like to, however, I couldn't find a proper solution.  Do you
know one?


    Werner



reply via email to

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