X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fengraver-init.ly;h=49f22c1b3de9010015e172cf9a5928f7b22d4471;hb=5c14a087ca6cbd665fd631452b7b1283ba0387c3;hp=47502399a51585d81b769e68156e36f797938eaa;hpb=45dbb4db1979bd4bd531e0d66690fb8d3144f473;p=lilypond.git diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index 47502399a5..49f22c1b3d 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -22,6 +22,8 @@ \consists "Separating_line_group_engraver" \consists "Font_size_engraver" \consists "Instrument_name_engraver" + + predefinedDiagramTable = #fretboard-table } \context { @@ -222,7 +224,9 @@ multiple voices on the same staff." \consists "Part_combine_engraver" \consists "Text_engraver" - \consists "Dynamic_engraver" + \consists "New_dynamic_engraver" + \consists "Dynamic_align_engraver" +% \consists "Dynamic_engraver" \consists "Fingering_engraver" \consists "Bend_engraver" @@ -249,6 +253,7 @@ multiple voices on the same staff." fontSize = #-4 \override Stem #'length-fraction = #(magstep -4) \override Beam #'length-fraction = #(magstep -4) + \override Beam #'thickness = #0.35 } \context { @@ -298,9 +303,8 @@ contained staves are connected vertically." \name "PianoStaff" \alias "GrandStaff" - \description "Just like @code{GrandStaff} but with a forced -distance between the staves, so cross staff beaming and slurring -can be used." + \description "Just like @code{GrandStaff} but with support for +instrument names at the start of each system." \consists "Instrument_name_engraver" @@ -505,8 +509,12 @@ automatically when an output definition (a @code{\score} or middleCClefPosition = #-6 middleCPosition = #-6 firstClef = ##t + + crescendoSpanner = #'hairpin + decrescendoSpanner = #'hairpin defaultBarType = #"|" + doubleRepeatType = #":|:" barNumberVisibility = #first-bar-number-invisible automaticBars = ##t @@ -542,7 +550,7 @@ automatically when an output definition (a @code{\score} or subdivideBeams = ##f allowBeamBreak = ##f extraNatural = ##t - autoAccidentals = #'(Staff (same-octave . 0)) + autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave 0)) autoCautionaries = #'() printKeyCancellation = ##t @@ -596,16 +604,20 @@ automatically when an output definition (a @code{\score} or (Voice Beam thickness 0.384) (Voice Beam length-fraction 0.8) (Voice Accidental font-size -4) + (Voice AccidentalCautionary font-size -4) (Voice Slur direction ,DOWN) + (Voice Script font-size -3) ) keepAliveInterfaces = #'( rhythmic-grob-interface lyric-interface + percent-repeat-item-interface + percent-repeat-interface ;; need this, as stanza numbers are items, and appear only once. stanza-number-interface - percent-repeat-interface) + ) quotedEventTypes = #'( note-event rest-event @@ -615,8 +627,6 @@ automatically when an output definition (a @code{\score} or instrumentTransposition = #(ly:make-pitch 0 0 0) verticallySpacedContexts = #'(Staff) - - \override Voice #'hairpinToBarline = ##t timing = ##t } @@ -709,15 +719,15 @@ context." clefPosition = #0 } -%% TODO: Gregorian Chant contexts should be moved to gregorian-init.ly, +%% TODO: Gregorian Chant contexts should be moved to gregorian.ly, %% but this does not work (is this a bug or intended behaviour?): %% %% If I try to do so, I get "error: unknown escaped string: %% `\VaticanaStaff'" in params-init.ly. If I also move %% "\context { \Vaticana*Context }" from params-init.ly to the end -%% of gregorian-init.ly, then I get "error: parse error, unexpected +%% of gregorian.ly, then I get "error: parse error, unexpected %% TRANSLATOR: \context { \VaticanaStaff }" in -%% gregorian-init.ly. --jr +%% gregorian.ly. --jr \context { \Voice @@ -898,7 +908,7 @@ accommodated for typesetting a piece in mensural style." %% Accidentals are valid only once (same as %% #(set-accidental-style 'forget)) extraNatural = ##f - autoAccidentals = #'(Staff (same-octave . -1)) + autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave -1)) autoCautionaries = #'() printKeyCancellation = ##f }