lilypond-user
[Top][All Lists]
Advanced

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

Re: Bug in connected arpeggio brackets with layout-set-staff-size


From: Pierre Perol-Schneider
Subject: Re: Bug in connected arpeggio brackets with layout-set-staff-size
Date: Mon, 2 Mar 2020 06:40:25 +0100

Hi Davide,
Here's a possible workaround:

\version "2.19"

music = \new PianoStaff \with {
  connectArpeggios = ##t
  \override Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
  }
 <<
  \new Staff {
    \clef "treble"
    \once\override PianoStaff.Arpeggio.positions = #'(-9.5 . -3)
    \once\override PianoStaff.Arpeggio.Y-extent = #'(0 . 0)
    c'4\arpeggio
  }
  \new Staff {
    \clef "bass"
    b,4\arpeggio
  }
>>

\score {
  \music
  \layout {
    #(layout-set-staff-size 17)
  }
}

HTH
Cheers,
Pierre

Le dim. 1 mars 2020 à 22:34, Davide Liessi <address@hidden> a écrit :
Hi all.
The size and position of the bracket in the second score are not
computed correctly.
Apparently the bracket is not scaled; if you use, say, 10 instead of
17 it becomes clearer.

\version "2.19.84"
music = \new PianoStaff \with {
  connectArpeggios = ##t
  \override Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
} <<
  \new Staff {
    \clef "treble"
    c'4\arpeggio
  }
  \new Staff {
    \clef "bass"
    b,4\arpeggio
  }
>>
\score {
  \music
}
\score {
  \music
  \layout {
    #(layout-set-staff-size 17)
  }
}

Is there any workaround?
Should this be added to the tracker?

Best wishes.
Davide


reply via email to

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