Malte Meyn
2018-09-05 12:44:00 UTC
[Forwarding to bug-lilypond]
Hi foxfanfare,
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 ;)
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
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Hi 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 someshortned as expected, but the other aren't and you can see here the natural
appears too close.
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
accidentals2.JPG
<Loading Image...
>
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 ofaccidentals2.JPG
<Loading Image...
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...
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
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%