lilypond-user
[Top][All Lists]
Advanced

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

Re: Bar numbering -- tweaking staves?


From: Mats Bengtsson
Subject: Re: Bar numbering -- tweaking staves?
Date: Wed, 19 Jul 2006 23:23:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3

See the section on "Modifying context plug-ins",
especially about the \new ... \with {...} {...} construct.

  /Mats

Till Rettig wrote:

Hello,

I started putting a ChoirStaff together with multimetre mesures. Because the score context calculates the bar numbering, it cannot gather anymore information on all staves, since they appear to have different measure numbers. One possibility is to add the bar_number_engraver to the staff context, but this invokes ugly numbers for every single staff. I still would prefer bar numbers on the top of the system, thus being valid only for the upper voice. So how can i seperate one staff (or voice) to which i can apply then the bar_number_engraver, not affecting the other staves?

Greetings
Till

Example-file:

%%%Lily-file%%%
\version "2.8.4"
sopran = { \time 4/4 a b a c f g fis e d c g a d2 c e c }
alt = { \time 3/4 a4 b a c f g \time 4/4 e2 b d f \time 3/4 a4 b a c g f }
\score {
\new ChoirStaff = Chor
\relative <<
\context Voice = sopran {\sopran \sopran}
\context Voice = alt {\alt \alt}
>>
}
\layout{
\context { \Score
    \remove "Timing_translator"
    %\consists "Bar_number_engraver"%doesn't show any effect
}
   \context {\Staff
    \consists "Timing_translator"
   \consists "Default_bar_line_engraver"
\consists "Bar_number_engraver"
}
}


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user



--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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