lilypond-user
[Top][All Lists]
Advanced

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

Re: Transparent ledger lines


From: -Eluze
Subject: Re: Transparent ledger lines
Date: Wed, 18 Mar 2009 08:14:51 -0700 (PDT)


Carl Sorensen-3 wrote:
> 
> 
> 
> 
> On 3/17/09 6:37 PM, "Ari Torhamo" <address@hidden> wrote:
> 
>> Hello,
>> 
>> I have been wrestling with a problem for a while. I'm using these two
>> lines
>> 
>>    \override Voice.NoteHead #'transparent = ##t
>>    \override Voice.Stem #'transparent = ##t
>> 
>> to make certain note heads and stems transparent. This works fine, but
>> the problem is that the ledger lines connected to them stay visible. I
>> have tried several things to get rid of the ledger lines too, but
>> haven't found the solution.
>> 
>> I think these are what I have tried so far:
>> 
>> \override Staff.LedgerLine #'transparent = ##t
>> \override Staff.Ledger #'transparent = ##t
>> \override Staff.LedgerLineSpanner #'transparent = ##t
>> \override Voice.LedgerLineSpanner #'transparent = ##t
>> \override Voice.LedgerLine #'transparent = ##t
>> \override Voice.Ledger #'transparent = ##t
>> \override LedgerLineSpanner #'transparent = ##t
>> \override NoteHead #'no-ledgers = ##t
> 
> 
> From the command hideNotes (which is found in the file
> ly/property-init.ly)
> I found that the property you want to use is
> 
> \override NoteHead #'no-ledgers = ##t
> 
> Carl
> 
> 

yes - but only if you put it in the right context…
in this case this is the Voice context:

\score {
       \context Staff="1" { 
                \context Voice="1" {
                         \override NoteHead #'no-ledgers = ##t
                         c'''
                         }
                }
       }

-- 
View this message in context: 
http://www.nabble.com/Transparent-ledger-lines-tp22570836p22580984.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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