lilypond-user
[Top][All Lists]
Advanced

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

Re: Dynamics context


From: Helge Kruse
Subject: Re: Dynamics context
Date: Tue, 16 Mar 2010 20:30:47 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0

Am 16.03.2010 19:17, schrieb Robert Clausecker:
Hi all!

I have a problem with the Dynamics context: The Dynamics are always
shifted to the left side, so they often collide with bars in systems
with merged bars.

Is there a way to fix this behavior instead of tweaking the properties
for each dynamic symbol?

I found workaround for the dynamics. But this doesn't work for the pedal statements. I add a "\shift" before each item that collides.

Regards,
Helge

\version "2.12.3"

shift = \once \override DynamicText #'self-alignment-X = #LEFT

        \score {
            \new PianoStaff <<
                \new Staff \relative c' {
                    b1 | c4 d e f | g a b c |
                }
                \new Dynamics {
s1 | \shift s4\ff s s s\p | \shift s\sustainOn s s s\sustainOff |
                }
                \new Staff \relative c' {
                    b1 | c4 d e f | g a b c |
                }
            >>
        }





reply via email to

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