Monday, May 12, 2008

Making LilyPond GrandStaff accept RhythmicStaff

GrandStaff does not by default accept RhythmicStaves. Context modification fixes this.



\new GrandStaff <<
\new RhythmicStaff { c'4 }
\new RhythmicStaff { c'4 }
\new RhythmicStaff { c'4 }
\new RhythmicStaff { c'4 }
>>

\layout { \context { \GrandStaff \accepts RhythmicStaff } }

Thanks to Rune.

No comments: