lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ^\markup placed below score


From: David Kastrup
Subject: Re: ^\markup placed below score
Date: Fri, 31 Aug 2018 22:59:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Rachel Knight <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]