[Forwarding to bug-lilypond] Hi foxfanfare,
Am 05.09.18 um 11:07 schrieb foxfanfare:
As you can see, the ledger line of the note containing the accidental is shortned as expected, but the other aren't and you can see here the natural appears too close.
that’s true, neighbouring ledger lines should be shortened in some cases. LilyPond’s documentation advertises the ledger line shortening (http://lilypond.org/doc/v2.18/Documentation/essay/engraving-details#ledger-lines), IMHO that’s a good reason why it should really work ;)
I can fix this by moving the accidental with \once \override Accidental.X-offset = #-1.25, see: accidentals2.JPG <http://lilypond.1069038.n5.nabble.com/file/t5604/accidentals2.JPG> But this tweak has to be done every time... My question is: is it possible to add more padding between ledger lines and accidentals? I tried many combinations but nothing worked so far...
Of course you could use \override instead of \once \override but of course that’s not optimal, therefore I’m forwarding this to the bug list. The following code shows in which cases also a neighbouring ledger line should be shortened and where there are ledger lines that are shortened but shouldn’t be.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \version "2.19.82" << \new Staff \relative c''' { \set Score.extraNatural = ##f ceses feses % feses: no need for shortening ceseh feseh % feseh: no need for shortening ces fes % fes: no need for shortening ceh feh % ok c! f! % both: more shortening needed cih fih % ok cis fis % ok cisih fisih % ok cisis fisis % ok } \new Staff \relative { aeses eeses % ok aeseh eeseh % ok as es % ok aeh eeh % both: more shortening needed a! e! % a: more shortening needed aih eih % aih: more shortening needed ais eis % ais: more shortening needed aisih eisih % aisih: more shortening needed aisis eisis % ok } >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user