On 3/17/09 6:37 PM, "Ari Torhamo" <ari.torh...@gmail.com> 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



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to