lilypond-user
[Top][All Lists]
Advanced

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

Re: How to use Markup for Barnumbers?


From: Robin Bannister
Subject: Re: How to use Markup for Barnumbers?
Date: Sat, 26 Feb 2011 12:32:15 +0100

Tao wrote:
I tried overriding the #'text property of BarNumber but nothing happens.
Maybe this is because the bar counter sets up the #'text property at a late stage and so overwrites what you had put there; ChordName does that too. You can bypass the #'text property with
replaceBN = #(define-music-function (parser location new) (markup?) #{\once \override Score.BarNumber #'stencil = #(lambda (grob) (grob-interpret-markup grob $new)) #})
and then say
\replaceBN \markup \column { "17" "37"}
Cheers, Robin



reply via email to

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