lilypond-user
[Top][All Lists]
Advanced

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

Re: Multi-rest with automatic bar number before and after it


From: David Kastrup
Subject: Re: Multi-rest with automatic bar number before and after it
Date: Thu, 18 Feb 2016 23:43:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

[...]

>        \markup
>          \center-column {
>            #(number->string mmr-length)
>            %% value found by try and error
>            \translate #'(0 . -7.5)
>            \with-dimensions #empty-interval #empty-interval
>            \halign #CENTER
>            \line
>            #(list (number->string currentBarNumber)
>             " - "
>             (number->string (1- (+ currentBarNumber mmr-length))))
>          }

Since the content is purely text, \translate should likely rather be
\translate-scaled (which takes potential changes of fontSize into
account).

-- 
David Kastrup



reply via email to

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