[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use Markup for Barnumbers?
From: |
James Lowe |
Subject: |
Re: How to use Markup for Barnumbers? |
Date: |
Sun, 27 Feb 2011 09:07:35 +0000 |
User-agent: |
Microsoft-MacOutlook/14.2.0.101115 |
Hello
-----Original Message-----
From: TaoCG <address@hidden>
Date: Sat, 26 Feb 2011 04:52:04 -0800
To: lilypond-user <address@hidden>
Subject: Re: How to use Markup for Barnumbers?
>
>
>Robin Bannister wrote:
>>
>> 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
>>
>
>Thanks. This is exactly what I need. I only had to adjust the
>baseline-skip
>to get the numbers closer together.
>--
I'm more intrigued to know why you'd have bar numbers in pairs like this.
That is if they are just repeats then you are repeating bar X but if it is
a new bar then it is a new bar if you see what I mean.
What kind of music requires this?
James
>