Better output with: -\tweak extra-offset #'(1.9 . -1.55) % <= to be set
manually
PPS

Le mer. 31 juil. 2019 à 08:42, Pierre Perol-Schneider <
[email protected]> a écrit :

> Hi Mason,
> I couldn't find the correct incantation to modify the StaffSymbol and/or
> the BreakAlignment properties...
> So here's a hacky way, HTH:
>
> \version "2.21.0"
>
> \score {
>   <<
>     \new Staff \relative c' {
>       c4 c c c |
>       \stopStaff
>       s1
>       \startStaff
>       c4 c c c |
>     }
>     \new Staff \relative c' {
>       c4 c c c |
>       c4 c c
>       \once\textLengthOn
>       c
>       -\tweak extra-offset #'(1.9 . -1.5) % <= to be set manually
>       ^\markup\with-dimensions #'(0 . 4) #'(0 . 0)\musicglyph
> #"clefs.F_change" |
>       \once\override Staff.Clef.stencil = ##f
>       \clef "bass" c4 c c c |
>     }
>   >>
> }
>
> Cheers,
> Pierre
>
> Le mer. 31 juil. 2019 à 00:53, <[email protected]> a écrit :
>
>> When a staff that has previously been stopped with \stopStaff is
>> restarted with \startStaff on the first beat of a measure, and this
>> coincides with a clef change in another staff, the first staff begins at
>> the clef instead of the barline.
>>
>> %%% begin MWE %%%
>>
>> \version "2.21.0"
>>
>> \score {
>>   <<
>>     \new Staff \relative c' {
>>       c4 c c c |
>>       \stopStaff
>>       s1 |
>>       \startStaff
>>       c4 c c c |
>>     }
>>     \new Staff \relative c' {
>>       c4 c c c |
>>       c4 c c c |
>>       \clef "bass" c4 c c c |
>>     }
>>   >>
>> }
>>
>> %%% end MWE %%%
>>
>> This might be desirable in general, but in the context of my score
>> (not necessarily in this MWE) it looks odd. Is there a way to override
>> this behavior so that the staff begins on the barline?
>>
>> Thanks,
>>
>> Mason
>> _______________________________________________
>> lilypond-user mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to