> Jay, Mark, anyone: are you interested in submitting a full patch, with > appropriate documentation, NEWS item etc? If so, we can officially > submit it for inclusion.
Attached is a patch which adds "SmallStaff" to engraver-init.ly. Everywhere that \accepts "Staff" was used I just added \accepts "SmallStaff". Let me know if this looks good. I've never tried to change the documentation so I'm not quite sure where to start with that. Should there just be an entry in the 'news' section? Should there be other content? Once I've tested my changes to the docs I'll add that to the patch. -----Jay
diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index ed7698e..cd17b2c 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -87,6 +87,19 @@ \context { \Staff \type "Engraver_group" + \name "SmallStaff" + \alias "Staff" + + fontSize = #-3 + \override StaffSymbol #'staff-space = #(magstep -3) + + \description "Creates a smaller staff for use with piano accompaniaments +and other purposes." +} + +\context { + \Staff + \type "Engraver_group" \name "DrumStaff" \alias "Staff" @@ -120,6 +133,7 @@ shortVocalName = #'() \accepts "Staff" + \accepts "SmallStaff" \accepts "DrumStaff" \accepts "RhythmicStaff" \accepts "GrandStaff" @@ -294,6 +308,7 @@ contained staves are connected vertically." \defaultchild "Staff" \accepts "Staff" + \accepts "SmallStaff" \accepts "FiguredBass" \accepts "Dynamics" } @@ -332,6 +347,7 @@ instrument names at the start of each system." \defaultchild "Staff" \accepts "Staff" + \accepts "SmallStaff" \accepts "RhythmicStaff" \accepts "DrumStaff" \accepts "GrandStaff" @@ -505,6 +521,7 @@ automatically when an output definition (a @code{\score} or \accepts "FretBoards" \accepts "Staff" + \accepts "SmallStaff" \accepts "RhythmicStaff" \accepts "TabStaff" \accepts "VaticanaStaff"
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user