Rachel Knight <[email protected]> writes:

> Below is my score for a piece for a primer method. When the staff is showing, 
> all the markups are in the right position, but as soon as I hide the staff 
> lines, the last “R.H.” moves below the notes instead of above them, as I have 
> specified. How do I fix this?
>
> Thanks,
> Rachel
>
> <<
>   \new Staff  {
>     \hide Staff.TimeSignature
>     \override Score.TimeSignature.stencil = ##f
>     \override Score.Clef.stencil = ##f
>     \clef bass
>     \easyHeadsOn
>     \stopStaff
>     \override Staff.Stem.length = #7.0
>     \override NoteHead.font-size = #3
>
>     \relative c, {
>       \voiceTwo
>       c4_\markup { \teeny "L.H." } d e2
>     }
>     \relative c {
>       \voiceOne
>       c4^\markup { \teeny "R.H." } d e2
>     }
>     \relative c' {
>       \voiceTwo
>       c4_\markup { \teeny "L.H." } d e2
>     }
>     \relative c'' {
>     \voiceOne
>       c4^\markup { \teeny "R.H." }
>        d e2
>     }
>   }
>     >>

You do not "hide the staff lines", you end the staff.  There is nothing
left for putting things above or below afterwards.

Try

    \override Staff.StaffSymbol.line-count = #0

instead of \stopStaff .  It might make sense to put it in a \with block
for the Staff since then it won't be ignored when grace notes are
present in a parallel context.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to