lilypond-user
[Top][All Lists]
Advanced

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

Re: Order of contexts over staves


From: Phil Holmes
Subject: Re: Order of contexts over staves
Date: Sun, 18 Jan 2015 20:29:01 -0000

----- Original Message ----- From: "Phil Holmes" <address@hidden>
To: <address@hidden>
Sent: Sunday, January 18, 2015 3:11 PM
Subject: Order of contexts over staves


I'm setting some music with temporary staves, and ensuring the the
temporary staff is above the main staff using

\new Staff \with { alignAboveContext = #"label"}

I'm also using a dynamics context, which is created with

\new Dynamics  \with { alignAboveContext = "label" }

The problem is that the dynamics appear above the ossia stave, rather than
the main one.  Is there any way to change the order they appear on, on the
page?

Thanks.

Trevor has requested an example to help look into this. This is fairly minimal:

{
 \new Staff = "label"
 <<
   \new Voice {  \repeat unfold 4 c''4
   <<
     {
      R1 r2 r4 c''4
     }
     {
     \new Staff \with {
       \remove "Time_signature_engraver"
       alignAboveContext = #"label"
       \override StaffSymbol #'staff-space = #(magstep -3)
       fontSize = #-2
     }
     <<
       \new Voice {
         r2 a'2 \repeat unfold 3 a'4 r4
       }
     >>
     }
   >>
   \repeat unfold 4 c''4
   }
 \new Dynamics  \with { alignAboveContext = "label" }
 {
    s1 s1 s2 s4 s4 \ff s1
 }
 >>
}

The attached image shows the proble of the dynamic being over the ossia, rather than the permanent stave.

--
Phil Holmes

Attachment: DynamicsProb.png
Description: PNG image


reply via email to

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