bug-lilypond
[Top][All Lists]
Advanced

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

Voice context forgotten after staff change.


From: Yuval Harel
Subject: Voice context forgotten after staff change.
Date: Wed, 09 Feb 2005 11:13:10 +0200
User-agent: Opera M2/7.54 (Win32, build 3865)

In this example, the staff changes inside an expression assigned to voice "v". When voice "v" is used again, the staff change is forgotten, and the slur cannot be
terminated, as if in a different voice context.

\version "2.4.2"
LH = {
    \clef bass
    \context Voice="v" {
        e2( \change Staff=RH e'
        % \change Staff=LH %workaround
    } |
    \context Voice="v" {
        % \change Staff=RH %workaround
        e''1) \change Staff=LH
    } |
}

\new PianoStaff <<
    \context Staff=RH { s1*2 }
    \context Staff=LH { \LH }



Thanks,
        Yuval






reply via email to

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