[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange beams on cross-staff tremolos
From: |
Knute Snortum |
Subject: |
Re: Strange beams on cross-staff tremolos |
Date: |
Wed, 3 Nov 2021 07:48:45 -0700 |
On Wed, Nov 3, 2021 at 5:44 AM Paolo Prete <paolopr976@gmail.com> wrote:
>
> Hello,
>
> I'm experiencing strange beams on cross-staff tremolos on whole notes.
> The beam in the below snippet: 1) is not placed at the middle of the two
> notes and 2) it is too close to the ledger lines.
>
> Is this expected?
> Is there a way to fix 1) + 2) without \tweak(ing)?
>
> thanks,
> P
>
> %%%%%%%%%%%%%%%%%%%
> \version "2.22.0"
>
> upper = { s1 s }
>
> lower = {
>
> \clef treble
> \repeat tremolo 8 { c''''16 \change Staff = "upper" c''''16 }
> \break s1
>
> }
>
> \score {
> <<
> \new Staff = "upper" \upper
> \new Staff = "lower" \lower
> >>
> }
> %%%%%%%%%%%%%%%%%%%
The only way I know to fix this is by overriding beam positions. In
this case, doing so produces a warning, which I have suppressed.
%%%
\version "2.22.0"
upper = { s1 }
lower = {
\clef treble
\override Beam.positions = #'(10 . 11)
#(ly:expect-warning (_ "weird stem size, check for narrow beams"))
\repeat tremolo 8 { c''''16 \change Staff = "upper" c''''16 }
}
\score {
<<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
}
%%%
--
Knute Snortum