lilypond-devel
[Top][All Lists]
Advanced

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

Re: bar numbering howto?


From: Rune Zedeler
Subject: Re: bar numbering howto?
Date: Sat, 14 Dec 2002 02:37:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Heikki Johannes Junes wrote:

I propose a patch and it is slammed
because it less good than the current solution. However, after all spurring
discussion, I am happy to have found a solution to my problem:

I have added something a bit more intuitive (I hope) to cvs.
Now you can

resetBarnum = \context Score \applycontext #(set-bar-number-visibility 4)
\score {
    <
        \notes \transpose c c'' {
            \property Score.BarNumber \override #'break-visibility =
              #end-of-line-invisible
            \property Score.RehearsalMark \override #'padding = #2.5
            \mark "A" \resetBarnum
            \repeat unfold 10 c1
            \mark \default \resetBarnum
            \repeat unfold 8 c
            \bar "|."
        }
    >
}


Hope it's okay.

-Rune




reply via email to

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