X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fengraver-init.ly;h=62559ca40fb6df178f3ab3b9d18954e6ad50769f;hb=16661f7f6a78f04d056228d11bdc9e17a7cdf760;hp=1842de28a2f5b54598709a91ae11a28cf41d4a76;hpb=a113d6e906bbcd84044a2ae54f9ac05f6df51ca4;p=lilypond.git diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index 1842de28a2..62559ca40f 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -150,6 +150,7 @@ \accepts "FiguredBass" \accepts "GrandStaff" \accepts "Lyrics" + \accepts "OneStaff" \accepts "PianoStaff" \accepts "RhythmicStaff" \accepts "Staff" @@ -385,6 +386,7 @@ together, never separately." \accepts "FretBoards" \accepts "GrandStaff" \accepts "Lyrics" + \accepts "OneStaff" \accepts "PianoStaff" \accepts "RhythmicStaff" \accepts "Staff" @@ -397,6 +399,35 @@ staves are connected vertically. @code{StaffGroup} only consists of a collection of staves, with a bracket in front and spanning bar lines." } +\context { + \type "Engraver_group" + \name "OneStaff" + \accepts "ChordNames" + \accepts "DrumStaff" + \accepts "Dynamics" + \accepts "FiguredBass" + \accepts "FretBoards" + \accepts "GregorianTranscriptionStaff" + \accepts "KievanStaff" + \accepts "Lyrics" + \accepts "MensuralStaff" + \accepts "NoteNames" + \accepts "PetrucciStaff" + \accepts "RhythmicStaff" + \accepts "Staff" + \accepts "TabStaff" + \accepts "VaticanaStaff" + \defaultchild "Staff" + \consists "Axis_group_engraver" + + \description "Provides a common axis for the contained staves, +making all of them appear in the same vertical space. This can be +useful for typesetting staves of different types in immediate succession +or for temporarily changing the character of one staff or overlaying +it with a different one. Often used with @code{\\stopStaff} and +@code{\\startStaff} for best results." +} + \context { \type "Engraver_group" \name "Dynamics" @@ -580,6 +611,7 @@ automatically when an output definition (a @code{\\score} or \accepts "Lyrics" \accepts "MensuralStaff" \accepts "NoteNames" + \accepts "OneStaff" \accepts "PetrucciStaff" \accepts "PianoStaff" \accepts "RhythmicStaff"