X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fengraver-init.ly;h=325622a15c8a2b07e0d1fa84c707a3308c320809;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=12a5fcf2ed98c59dacdc742f9d0bc4a4e4fee1ca;hpb=45116ddc67c3ce0f5c7f3c29f33e2bba50badecb;p=lilypond.git diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index 12a5fcf2ed..325622a15c 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -16,7 +16,7 @@ %%%% You should have received a copy of the GNU General Public License %%%% along with LilyPond. If not, see . -\version "2.19.16" +\version "2.19.46" \context { \name "Global" @@ -35,7 +35,6 @@ \description "A context for displaying fret diagrams." \consists "Fretboard_engraver" - \consists "Output_property_engraver" \consists "Axis_group_engraver" \consists "Separating_line_group_engraver" \consists "Font_size_engraver" @@ -54,7 +53,6 @@ \type "Engraver_group" \name "Staff" - \consists "Output_property_engraver" \consists "Bar_engraver" \consists "Pure_from_neighbor_engraver" %% Bar_engraver must be first so default bars aren't overwritten @@ -134,6 +132,7 @@ \name "ChoirStaff" \consists "Vertical_align_engraver" topLevelAlignment = ##f + localAlterations = #'() \consists "Instrument_name_engraver" \consists "System_start_delimiter_engraver" @@ -147,9 +146,11 @@ \accepts "ChoirStaff" \accepts "ChordNames" \accepts "DrumStaff" + \accepts "Dynamics" \accepts "FiguredBass" \accepts "GrandStaff" \accepts "Lyrics" + \accepts "OneStaff" \accepts "PianoStaff" \accepts "RhythmicStaff" \accepts "Staff" @@ -175,7 +176,6 @@ contained staves are not connected vertically." \override Stem.neutral-direction = #UP \override Beam.neutral-direction = #UP - \consists "Output_property_engraver" \consists "Font_size_engraver" \consists "Separating_line_group_engraver" \consists "Dot_column_engraver" @@ -216,7 +216,6 @@ multiple voices on the same staff." \consists "Font_size_engraver" \consists "Pitched_trill_engraver" - \consists "Output_property_engraver" \consists "Arpeggio_engraver" \consists "Multi_measure_rest_engraver" \consists "Text_spanner_engraver" @@ -277,6 +276,7 @@ multiple voices on the same staff." \name "CueVoice" \alias "Voice" fontSize = #-4 + \override NoteHead.ignore-ambitus = ##t \override Stem.length-fraction = #(magstep -4) \override Beam.length-fraction = #(magstep -4) \override Beam.beam-thickness = #0.35 @@ -368,7 +368,6 @@ together, never separately." \override DynamicText.extra-spacing-width = ##f \consists "Span_bar_stub_engraver" \consists "Span_arpeggio_engraver" - \consists "Output_property_engraver" systemStartDelimiter = #'SystemStartBracket %% explicitly set instrument, so it is not inherited from the parent instrumentName = #'() @@ -384,6 +383,7 @@ together, never separately." \accepts "FretBoards" \accepts "GrandStaff" \accepts "Lyrics" + \accepts "OneStaff" \accepts "PianoStaff" \accepts "RhythmicStaff" \accepts "Staff" @@ -396,11 +396,39 @@ 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" \alias "Voice" - \consists "Output_property_engraver" \consists "Bar_engraver" \consists "Piano_pedal_engraver" \consists "Script_engraver" @@ -498,9 +526,10 @@ printing of a single line of lyrics." \context { \type "Engraver_group" \name "ChordNames" + \alias Staff % Catch Staff-level overrides like + % \key, \transposition \description "Typesets chord names." - \consists "Output_property_engraver" \consists "Separating_line_group_engraver" \consists "Chord_name_engraver" \consists "Axis_group_engraver" @@ -511,6 +540,7 @@ printing of a single line of lyrics." \override VerticalAxisGroup.staff-affinity = #DOWN \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #0.5 \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = #0.5 + \override ParenthesesItem.font-size = #1.5 } \context { @@ -567,6 +597,7 @@ automatically when an output definition (a @code{\\score} or \accepts "ChordNames" \accepts "Devnull" \accepts "DrumStaff" + \accepts "Dynamics" \accepts "FiguredBass" \accepts "FretBoards" \accepts "GrandStaff" @@ -575,7 +606,7 @@ automatically when an output definition (a @code{\\score} or \accepts "Lyrics" \accepts "MensuralStaff" \accepts "NoteNames" - \accepts "NullVoice" + \accepts "OneStaff" \accepts "PetrucciStaff" \accepts "PianoStaff" \accepts "RhythmicStaff" @@ -658,6 +689,7 @@ automatically when an output definition (a @code{\\score} or stringNumberOrientations = #'(up down) strokeFingerOrientations = #'(right) + extendersOverRests = ##t lyricMelismaAlignment = #LEFT markFormatter = #format-mark-letters rehearsalMark = #1 @@ -692,10 +724,6 @@ automatically when an output definition (a @code{\\score} or chordNameExceptionsPartial = #partialJazzExceptions noChordSymbol = #(make-simple-markup "N.C.") - bassStaffProperties = #'((assign clefGlyph "clefs.F") - (assign clefPosition 2) - (assign middleCPosition 6) - (assign middleCClefPosition 6)) %% tablature: stringOneTopmost = ##t highStringOne = ##t @@ -795,6 +823,10 @@ context." \consists "Pitch_squash_engraver" squashedPosition = 0 + %% generate no ledger lines, needed for staves with custom + %% line positions and ledger lines that appear inside the staff + \override NoteHead.no-ledgers = ##t + %% the engravers that control the 'busy' flags for note-onsets and melismata \consists "Grob_pq_engraver" \consists "Tie_engraver" @@ -1085,6 +1117,7 @@ accommodated for typesetting a piece in mensural style." \override TimeSignature.style = #'mensural \override KeySignature.glyph-name-alist = #alteration-mensural-glyph-name-alist \override Accidental.glyph-name-alist = #alteration-mensural-glyph-name-alist + \override AccidentalSuggestion.glyph-name-alist = #alteration-mensural-glyph-name-alist \override Custos.style = #'mensural \override Custos.neutral-position = #3 \override Custos.neutral-direction = #DOWN