|
From: | Olivier Biot |
Subject: | Re: unwanted barnumber |
Date: | Sun, 11 Nov 2012 23:48:43 +0100 |
2012/11/11 shutterfreak <address@hidden>:
> While incorporating this code in another score I came across a layoutingHi Olivier,
> problem: if the tempo name is sufficiently long, then the first measure
> number will be rendered _above_ the tempo indicator.
>
> This problem only occurs when \omitParenthesizedBarNumbers is invoked in the
> layout block.
try it with:
omitParenthesizedBarNumbers =
\override Score.BarNumber #'before-line-breaking =
#(lambda (grob)HTH,
(let* ((text (ly:grob-property grob 'text))
(text-arg (caadr text))
(nmbr? (string->number text-arg)))
(if (not nmbr?)
(ly:grob-suicide! grob)
#f)))
Harm
[Prev in Thread] | Current Thread | [Next in Thread] |