Hi Zoltan,

as far as I can see you are not missing anything.
It seems there is still work to be done to optimise the automatic Dynamics placement between staves, see http://code.google.com/p/lilypond/issues/detail?id=1127

From my experience it works quite well most of the times, you seem to have come across a tricky case (although I have to admit that I don't see what should be tricky about your example).

HTH
Urs


Am 12.10.2010 22:41, schrieb Zoltan Selyem:
Hi,


Piano centered dynamics are not centered between the two staves.
Am I missing something?

Thanks!

     Zoltan

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The Learning Manual (A.2.4) says:
%% "The Dynamics context, if placed between staves,
%% will automatically position dynamics correctly."
%% http://www.lilypond.org/doc/v2.13/Documentation/learning/piano-templates
%%
%% However, it seems that dynamics are simply put below the first staff.

\version "2.13.35"

global = {
         \key c \major
         \time 4/4
}

upper = \relative g' {
         \clef treble
         g4 g g e | c g e c
}

lower = \relative c {
         \clef bass
         c2 e | g4 c e g
}

dynamics = {
         s1\fff
}


\score {
         \new PianoStaff = "PianoStaff_pf"<<
                 \new Staff = "Staff_pfUpper"<<  \global \upper>>
                 \new Dynamics = "Dynamics_pf" \dynamics
                 \new Staff = "Staff_pfLower"<<  \global \lower>>
         >>
         \layout { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to