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 { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

<<attachment: PianoCenteredDynamics.png>>

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

Reply via email to