bug-lilypond
[Top][All Lists]
Advanced

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

Piano centered dynamics are not centered


From: Zoltan Selyem
Subject: Piano centered dynamics are not centered
Date: Tue, 12 Oct 2010 22:41:02 +0200

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
Description: PNG image


reply via email to

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