----- Original Message ----- From: "Eluze" <elu...@gmail.com>
To: <lilypond-user@gnu.org>
Sent: Saturday, July 13, 2013 9:38 AM
Subject: Re: Moving dynamics away from the staff


Phil Holmes wrote
Is there a way of shifting dynamics away from the staff when you're using
a
dynamics context?

have you tried

\override DynamicText.Y-offset = #-7

or

\override DynamicLineSpanner.Y-extent = #'(-1.5 . 11.5)

Eluze

I had, and had earlier concluded that they had no effect. However, using Y-offset on its own works:

\new Score {
<<
 \new Staff \relative c'' {
   c4 c c c |
   c c c c |
 }
 \new Dynamics {
   \override DynamicText.Y-offset = #-20
   s4 s \f s s
   \override DynamicText.Y-offset = #0
   s s \f s s
 }

}
\new Score {
 \relative c'' {
 \override DynamicText.Y-offset = #-20
   c4 c \f c c |
 \override DynamicText.Y-offset = #0
   c c \f c c |
 }
}

Thanks for pushing me that way.

--
Phil Holmes

<<attachment: DynTest.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to