lilypond-user
[Top][All Lists]
Advanced

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

Re: pushing items "through" or "beyond" other contexts


From: Mark Knoop
Subject: Re: pushing items "through" or "beyond" other contexts
Date: Sat, 3 Jun 2017 12:47:31 +0100

At 15:53 on 02 Jun 2017, Kieren MacMillan wrote:
>Hi,
>
>> Couldn't you do \new Dynamics { \alignAboveContext = "upper"
>> s4/p }?  
>
>No.  =\
>
>p.s. I’ve now included a compilable snippet, if anyone wants to try
>stuff out.
>
>Thanks,
>Kieren.
>
>%%%  SNIPPET BEGINS
>\version "2.19.61"
>
>upperStuff = {
> c''2 d''4( c'')
>}
>
>centredDynamics = {
>  s2\f
>  % I want the following dynamic above the upper staff.
>  % Currently, I have to use extra-offset (or similar)
>  \once \override DynamicText.extra-offset = #'(0 . 8.5)
>  s2\p
>}
>
>lowerStuff = {
>  \clef bass
>  c1
>}
>
>\new PianoStaff <<
>  \new Staff = “upper” \upperStuff
>  \new Dynamics = “dyn” \centredDynamics
>  \new Staff = “lower” \lowerStuff
>>>  
>%%%  SNIPPET ENDS

What about

\context Staff = "upper" s2^\p

?

-- 
Mark Knoop



reply via email to

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