I wrote: > How do I tweak an individual ledger line from within a chord? Well, an hour > later, and all I've managed to achieve is printing the staff-positions of the ledger lines that happen to have noteheads on them (to the standard output), and while that makes me feel like a minor genius, it seems I haven't gotten any closer to being able to tweak these things individually. Worse yet, I see my initial question doesn't even capture the full extent of what I'm trying to do here. What I want to be able to do is to tweak individual ledger lines, even if they don't have a note attached to them. For example, in... { a } ...there are 2 ledger lines below the treble staff to accomodate the a-natural; I want to tweak both individually. There must be a way! Does anyone know? Even a nudge in the right direction would help. Thanks, Mark ____________________________________________________________________ \version "2.17.21" { \override Staff.LedgerLineSpanner.before-line-breaking = #(lambda (grob) (map display (list "\n" (map ly:grob-staff-position (ly:grob-array->list (ly:grob-object grob 'note-heads)))))) a } ____________________________________________________________________ GNU LilyPond 2.17.21 Processing `LedgerLineSpanner.ly' Parsing... Interpreting music... Preprocessing graphical objects... (-8) Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `LedgerLineSpanner.ps'... Converting to `./LedgerLineSpanner.pdf'... Success: compilation successfully completed
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user