[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: ^\markup placed below score
From:       David Kastrup <dak () gnu ! org>
Date:       2018-08-31 20:59:55
Message-ID: 87k1o62qwk.fsf () fencepost ! gnu ! org
[Download RAW message or body]

Rachel Knight <knig8797@icloud.com> 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic