Thanks, tis does the trick Am 02.04.2015 um 19:14 schrieb Thomas Morley: > 2015-04-02 18:03 GMT+02:00 René Brandenburger <r...@brandenburger.lu>: >> Dear list, >> >> I'm typesetting a piano piece whith a staff change from the lower to the >> upper staff, the upper staff having an ottava bracket. This leads to the >> lower chord being slightly shifted to the right. >> Is there a workaround for this? >> >> Regards >> René Brandenburger >> >> Example code follows, output attached: >> >> \version "2.19.16" >> >> right = \relative c'' { >> R1 > If you comment \ottava #1 the following warning is printed: > warning: this Voice needs a \voiceXx or \shiftXx setting > < > c' gis'>1 > No idea why it is omitted with \ottava #1 > >> \ottava #1 >> <g''! c>1 >> \ottava #0 | >> } >> >> left = \relative c' { >> \clef bass >> R1 >> \change Staff = "right" > % Following the warning you should insert here: > \voiceTwo > >> <c' gis'>1 >> \change Staff = "left" | >> >> } >> >> \score { >> \new PianoStaff << >> \new Staff = "right"{ \right } >> \new Staff = "left" { \left } >> >> >> \layout { } >> } > > > HTH, > Harm >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user