bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dots are shifted to avoid non-existent ledger lines (with custom led


From: Colin Campbell
Subject: Re: Dots are shifted to avoid non-existent ledger lines (with custom ledger line positions)
Date: Wed, 30 Jul 2014 18:47:56 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

On 14-07-21 01:21 PM, Paul Morris wrote:
Here's an obscure one: when ledger line positions have been overridden, the 
positions of dots on dotted notes are still shifted to avoid ledger lines that 
are no longer there.  They don't seem to be shifted based on actual ledger line 
positions.

-Paul


\version "2.18.2"

greenNote =  \once \override NoteHead.color = #green

\markup { Dots are shifted to avoid non-existent ledger lines (see green 
notes). }

\new Staff \with {
   \override StaffSymbol.line-positions = #'(-4 0 4)
   \override StaffSymbol.ledger-positions = #'(-4 0 4)
}
\relative f' {
   \time 12/4
   c,4. d e
   \greenNote f
   g a b
   \greenNote c
   g''
   \greenNote a
   b c d
   \greenNote e
   f g
}

\markup { Dots are not being shifted based on actual ledger line positions.}

\new Staff \with {
   \override StaffSymbol.ledger-positions = #'(-3 -1 1 3 5)
}
\relative f' {
   c, d e f g a b c
}

Reported as Issue 4040 <https://code.google.com/p/lilypond/issues/detail?id=4040>: Dots ignoring shifted ledger lines

Cheers,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]