Carl Sorensen-3 wrote:
>
>
>
>
> On 3/17/09 6:37 PM, "Ari Torhamo" <[email protected]> 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.
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user