Jean-Julien Fleck <jeanjulien.fl...@gmail.com> writes:

> Hello Joe,
>
>
>
> Le sam. 26 janv. 2019 à 21:23, Joseph Srednicki <jos.sredni...@verizon.net>
> a écrit :
>
>> Hello Everyone:
>>
>> See the following example. I am trying to hide the first e  the first bea
>> in the upper voice. I successfully hid the note head and stem, but cannot
>> seem to hide the ledger line.
>>
>> Can someone please give me the appropriate command to do this?
>>
>> I experimented with StaffSymbol.ledger-positions, but was unsuccessful.
>>
>> Also, if I am taking the wrong approach, please let me know.
>>
>> I searched the documentation, but was unsuccessful in finding the
>> appropriate resolution.
>>
>
> I think that you are searching for \hideNotes
>
> {
>   \clef bass
> <<
>   {\once \hideNotes e'4 e' e' e' |}
>   \\
>   {c'4 c' c' c' |}
>>>
> }
>
> which is explained here in the docs:
> http://lilypond.org/doc/v2.18/Documentation/notation/inside-the-staff
> (search for hideNotes in the page)

In this case, I'd rather use \single \hideNotes e'4 since that hides the
given note (and its elements) rather than hiding all notes of the voice
at the current moment.  It's more a matter of principle: I don't
actually know what will happen with a ledger line stack when you hide
only one of the responsible notes.

-- 
David Kastrup

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

Reply via email to