On Sep 9, 2012, at 5:20 PM, Phil Holmes wrote: > ----- Original Message ----- From: "james" <james.lilyp...@googlemail.com> > To: "lilypond-user Mailinglist" <lilypond-user@gnu.org> > 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.
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user