[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transparent ledger lines
From: |
Carl D. Sorensen |
Subject: |
Re: Transparent ledger lines |
Date: |
Tue, 17 Mar 2009 18:43:15 -0600 |
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