I wish to show a staff with a few ledger lines above/below an empty staff.
I don't want any notes to show. However LilyPond will not generate Ledger
lines for invisible notes, so transparency overrides or \hideNotes commands
I've tried take out the note heads as well as the accompanying ledger lines.
Is there a way to force the ledger lines to be typeset while hiding the
underlying note?
Below is the snippet I'm testing this with. Thx! Javier
\version "2.14.2"
\score
{ \new Staff \with {
\remove Bar_engraver
firstClef = ##f
}
{
%% I'm looking for a way to hide the noteheads, but still show the
ledger lines.
%%uncommenting the command below will erase both notes and ledger
lines
%\override NoteHead #'stencil = #point-stencil
\override Stem #'transparent = ##t
a''4 c''' c' a
}
\layout {
indent = 0\in
ragged-right = ##t
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user