[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamics contexts
From: |
james |
Subject: |
Re: dynamics contexts |
Date: |
Sun, 9 Sep 2012 17:33:42 +0200 |
On Sep 9, 2012, at 5:20 PM, Phil Holmes wrote:
> ----- Original Message ----- From: "james" <address@hidden>
> To: "lilypond-user Mailinglist" <address@hidden>
> Sent: Sunday, September 09, 2012 3:57 PM
> Subject: dynamics contexts
>
>
>> Perhaps I don't understand the purpose of the dynamics context. I've been
>> using them to align all dynamic marks on a single line, however, I don't see
>> how to control whether the dynamics are place above or below the staff. For
>> example:
>> \version "2.17.2"
>>
>> \score {
>> <<
>> \new Staff = "tset" \relative c' { c4 b d c e d f e}
>> \new Dynamics {
>> \override TextSpanner #'(bound-details left text) = "text"
>> s4\startTextSpan s1_\< s4\! s_\p s\stopTextSpan
>> }
>> >>
>> }
>> \score {
>> <<
>> \new Staff = "tset" \relative c' { c4 b d c e d f e }
>> {
>> \override TextSpanner #'(bound-details left text) = "text"
>> s4\startTextSpan s1_\< s4\! s_\p s\stopTextSpan
>> }
>> >>
>> }
>>
>> The former has the problem that the spanner is printed on top of the
>> dynamics, and the latter has the problem that the dynamics are not aligned.
>> Is it possible to get output similar to the latter, but with the dynamics
>> aligned better?
>
>
> Could you confirm that what you actually want is the text - - - - mark above
> the stave, with the dynamics below the stave and all aligned vertically?
>
> --
> Phil Holmes
Yes. I want the text spanner above the staff, and the dynamics below the staff,
and the dynamics below the staff (and ideally any text spanners above) should
be aligned vertically.