bug-lilypond
[Top][All Lists]
Advanced

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

Staff change at beginning of score


From: Yuval Harel
Subject: Staff change at beginning of score
Date: Mon, 28 Feb 2005 16:04:05 +0200
User-agent: Opera M2/7.54 (Win32, build 3865)

It seems staff changes don't work at the beginning of a score. In this example, the {a} is incorrectly produced in the right-hand staff:

\version "2.4.2"

\score {
    \context PianoStaff=PS <<
        \context Staff=RH {
            \change Staff=LH a
        }
        \context Staff=LH {
            \clef bass
            c4
        }
    >>
}


Adding notes before the {a} prevents this problem.

Outside the main voice, the change works, but \stemUp (or \voiceOne) has no effect:

\version "2.4.2"

\score {
    \context PianoStaff=PS <<
        \context Staff=RH {
            \context Voice="1" {\change Staff=LH \stemUp a}
        }
        \context Staff=LH {
            \clef bass
            \stemDown c
        }
    >>
}

Thanks,
        Yuval





reply via email to

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