Hi Pierre, thanks alot! Yes, I think your version is better because – as far as I see – the line is attatched to the key signature and not to the Note.
Maybe that should be the default behaviour of Lilypond when placing accidentals of the key signatures outside the standard staff lines? Thanks again and best, Frank P.S. @ Pierre: Sorry, for double receiving. The first time I send this mail only to you, but I wanted the suggestion for having ledger lines in key signatures by default to be sent to all. Am 18. Nov 2014 um 20:58 schrieb Pierre Perol-Schneider <[email protected]>: > Hi Frank, > > 2014-11-18 20:20 GMT+01:00 Frank Z. <[email protected] > <mailto:[email protected]>>: > > > There must be a better solution. > > > Not sure if it's better but here you go : > > \version "2.18.2" > > \relative c' { > %\override Staff.KeySignature.flat-positions = #'(-1) > \override Staff.KeySignature.stencil = > #(lambda (grob) (grob-interpret-markup grob > #{ > \markup > \translate #'(0 . -3.5) { > \combine > \translate #'(-.4 . .5) > \override #'(thickness . 2) > \draw-line #'(1.5 . 0) > \musicglyph #"accidentals.flat" > } > #})) > \time 3/4 > \key d \minor > %\once \override TextScript.extra-offset = #'( -6 . 0.7) > d2. > %_\markup { \override #'(thickness . 2) \draw-line #'(1.5 . 0)} > } > > HTH, > Pierre > _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
