Am 04.04.2014 12:35, schrieb Fredrik Wallberg:
Hi Urs,
you could try:
\override Staff.LedgerLineSpanner.length-fraction = 0.5
/ Fredrik
Thanks, that's exactly what I needed :-)
Somehow I thought this must be possible with a property override but
wasn't bold enough to simply pretend I knew when asked ;-)
Best
Urs
_______
I'm trying to slightly reduce the extension of ledger lines with
"length-fraction" and "minimum-length-fraction" in a dense passage, to
increase available spacing in adjacent bars.
What is the proper usage for this override? Below, I tried several
values without any apparent change in ledger line length.
%%%%%%%%%%%%%%
\version "2.18.2"
\paper { indent = 0.0 ragged-right = ##t }
notes = { g8[ f e d c b c d e f] }
bars = { \repeat unfold 5 { \noBreak \notes } }
myScore = \relative c''''{
\time 5/4
r1 a4^"No override" \bars
\override Staff.LedgerLineSpanner.length-fraction = #0.5
\override Staff.LedgerLineSpanner.minimum-length-fraction = #0.5
r1 a4^"0.5 fraction" \bars
\override Staff.LedgerLineSpanner.length-fraction = #0.1
\override Staff.LedgerLineSpanner.minimum-length-fraction = #0.1
r1 a4^"0.1 fraction" \bars
\override Staff.LedgerLineSpanner.length-fraction = #0.01
\override Staff.LedgerLineSpanner.minimum-length-fraction = #0.01
r1 a4^"0.01 fraction" \bars
\override Staff.LedgerLineSpanner.length-fraction = #2
\override Staff.LedgerLineSpanner.minimum-length-fraction = #2
r1 a4^"2 fraction" \bars
}
\score {
\new Staff \with { \remove "Time_signature_engraver" }
\myScore
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user