]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/engraver-init.ly
engraver-init.ly: guarantee no ledger lines in NullVoice
[lilypond.git] / ly / engraver-init.ly
index eade287f1a52fda7c182909dd459074e6a9ce5a6..6421d9efa1f3fa2aa990743062a3dbb1a5c13521 100644 (file)
   \accepts "ChoirStaff"
   \accepts "ChordNames"
   \accepts "DrumStaff"
+  \accepts "Dynamics"
   \accepts "FiguredBass"
   \accepts "GrandStaff"
   \accepts "Lyrics"
@@ -620,8 +621,7 @@ automatically when an output definition (a @code{\\score} or
   \accepts "TabStaff"
   \accepts "VaticanaStaff"
 
-  %% (determine-frets #t) would support micro-tones
-  noteToFretFunction = #(determine-frets)
+  noteToFretFunction = #determine-frets
   predefinedDiagramTable = ##f
   soloText = #"Solo"
   soloIIText = #"Solo II"
@@ -828,6 +828,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"