[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-devel
Subject:    Re: DynamicTextSpanner inside Dynamics context are shifted due to pedal
From:       "Dmytro O. Redchuk" <brownian.box () gmail ! com>
Date:       2011-06-30 13:36:07
Message-ID: 20110630133607.GR27674 () volz ! ua
[Download RAW message or body]

On Wed 29 Jun 2011, 10:38 Xavier Scheuer wrote:
> %% DynamicTextSpanner inside a Dynamics context are shifted to the left
> %% if there is a Pedal inside another Dynamics context.
> %% That leads to really poor output of the DynamicTextSpanner, which
> %% are shifted left (compared to when they are well aligned without the
> %% pedal) and so colliding with the bar line.
> %%
> %% This is really an issue for every piano score (using the Dynamics
> %% context, i.e. centered dynamics and pedal on a horizontal line).
> %%
Thank you, added as 1724:
http://code.google.com/p/lilypond/issues/detail?id=1724

(I've modified your code a bit)

> \version "2.15.2"
> 
> \score {
>   <<
>     \new PianoStaff <<
>       \new Staff = "up" {
>         \clef treble
>         \repeat unfold 48 c'4
>       }
>       \new Dynamics = "dynamics" {
>         \repeat unfold 2 {
>           s1\cresc s1\f s1\dim s1\p
>         }
>       }
>       \new Staff = "down" {
>         \clef bass
>         \repeat unfold 48 c4
>       }
>       \new Dynamics= "pedal" {
>         \repeat unfold 4 {
>           % comment the pedal and the DynamicTextSpanner are well
>           % aligned in the Dynamics context above!
>           s1\sustainOn s1\sustainOff
>         }
>       }
>     >>
>   >>
> }
> 
> 
> Cheers,
> Xavier
> 
> -- 
> Xavier Scheuer <x.scheuer@gmail.com>
> 
> _______________________________________________
> bug-lilypond mailing list
> bug-lilypond@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-lilypond

-- 
  Dmytro O. Redchuk
  Bug Squad


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic