lilypond-devel
[Top][All Lists]
Advanced

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

Re: empty staffs with RhythmicStaff?


From: Mats Bengtsson
Subject: Re: empty staffs with RhythmicStaff?
Date: Mon, 08 Nov 2004 12:36:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

It's probably easiest to look at the definition of
RemoveEmptyStaffContext in
/usr/share/lilypond/1.4.*/ly/engraver-init.ly
(or wherever the file is located on your system).
Then, you can either add a new context type, redefine the existing
one using

\layout{
  \context{
    \RhythmicStaff
    \remove "Axis_group_engraver"
    \consists "Hara_kiri_engraver"
    \override Beam #'auto-knee-gap = #'()
  }
}

or you can change the context defition for just a single
instance of the context using
\new RhythmicStaff \with {
   \remove "Axis_group_engraver"
    \consists "Hara_kiri_engraver"
    \override Beam #'auto-knee-gap = #'()
}{ % Here comes the music }


   /Mats



Arno Waschk wrote:
dear list,

i have

\context { \RemoveEmptyStaffContext }
in my \layout {} thing, which works nicely except for not affecting the
RhythmicStaff when being empty for lines.
Can i change this?


Thanks, Arno


--
=============================================
        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]