Patrick Schmidt wrote:
How can I center the text vertically
Texts added as in NR 1.8.1 are kept above (or below) the staff.
You will find it difficult to persuade Lilypond to move these inside.
[And as regards c' c' c' c' c' c' c' see \textLengthOn]
[And after stencil = ##f say \revert NoteHead #'stencil]
But your NoteHead stencil override prompts a different approach:
\once \override NoteHead #'stencil = #ly:text-interface::print
\once \override NoteHead #'text = \markup \vcenter { bla bla }
b'1
Note heads belong in the staff.
The pitch b' puts this one halfway up,
and Lilypond stretches the bar to accomodate it.
I also would like to get rid of the rests of the staff lines
Easy: get rid of the \mark commands!
It is the protruding width of their symbols which is provoking this.
You could move these symbols by overriding #'self-alignment-X
but you can instead renounce their width with
\once \override Score.RehearsalMark #'X-extent = #'(0 . 0)
Cheers,
Robin
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user