bug-lilypond
[Top][All Lists]
Advanced

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

Piano accidentals don't work in a GrandStaff


From: Yuval Harel
Subject: Piano accidentals don't work in a GrandStaff
Date: Fri, 30 Apr 2004 23:39:48 +0200
User-agent: Opera7.23/Win32 M2 build 3227

Hello,

The Notation Manual page on Accidentals ( http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Accidentals.html#Accidentals) reads:
---SNIP---
        piano
This rule reflects 20th century practice for piano notation. Very similar to modern but accidentals also get canceled across the staves in the same GrandStaff or PianoStaff.
---SNIP---

But #(set-accidental-style 'piano) does not word at all inside a GrandStaff - not even for accidentals on the same staff.
Here is a simple example:
\score {
    \notes \relative c' {
%       \new PianoStaff << % this works fine
        \new GrandStaff << % this does not work fine
            #(set-accidental-style 'piano)
            \new Staff {
                fis1 | f
            }
            \new Staff {
                        c2 f
                }
        >>
    }
}

Thanks,
        Yuval





reply via email to

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