lilypond-user
[Top][All Lists]
Advanced

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

Re: Bad alignment with \change Staff and \ottava


From: René Brandenburger
Subject: Re: Bad alignment with \change Staff and \ottava
Date: Thu, 02 Apr 2015 19:32:33 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

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 <address@hidden>:
>> 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
>




reply via email to

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