2012/11/11 shutterfreak <[email protected]>:
> While incorporating this code in another score I came across a layouting
> 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.

Hi Olivier,

try it with:

omitParenthesizedBarNumbers =
\override Score.BarNumber #'before-line-breaking =
#(lambda (grob)
   (let* ((text (ly:grob-property grob 'text))
          (text-arg (caadr text))
          (nmbr? (string->number text-arg)))
     (if (not nmbr?)
         (ly:grob-suicide! grob)
         #f)))


HTH,
  Harm

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to