I'm having a problem with the ossia of a fairly convoluted two measures (because Chopin played fast and loose with the rhythm). The broken beam extends a little too far into the next measure.
I've attached a picture of the ossia as I want it, with context (I don't care about the dashed lines), the ossia as I have it now, a MWE that produces that ossia, and a not-minimal example that provides context for why the measure is written so strangely. Any help would be greatly appreciated. -- Knute Snortum
\version "2.22.2" \language "english" forceHShiftF = \once \override NoteColumn.force-hshift = -0.325 slashFlag = \once \override Flag.stroke-style = "grace" ossia = \markup \small \italic "ossia" ossiaPart = \relative { \time 2/4 \key fs \major \stopStaff s4. \startStaff << { \magnifyMusic 0.63 { \slashFlag as8*1/32\noBeam^\ossia as16*1/16[ cs fs] } as16. b32*1/2 | \stopStaff s8 } \\ { \forceHShiftF as,8[ | \stopStaff \hideNotes b8] } >> s4. | } \score { \new Staff = "ossia" \with { \remove "Time_signature_engraver" \hide Clef \hide BarLine \override BarLine.allow-span-bar = ##f \override KeySignature.stencil = ##f \magnifyStaff #2/3 } { \ossiaPart } }
\version "2.22.2" \language "english" forceHShiftF = \once \override NoteColumn.force-hshift = -0.325 slashFlag = \once \override Flag.stroke-style = "grace" ossia = \markup \small \italic "ossia" global = { \time 2/4 \key fs \major \accidentalStyle piano } ossiaPart = \relative { \global \stopStaff s4. \startStaff << { \magnifyMusic 0.63 { \slashFlag as8*1/32\noBeam^\ossia as16*1/16[ cs fs] } as16. b32*1/2 | \stopStaff s8 } \\ { \forceHShiftF as,8[ | \stopStaff \hideNotes b8] } >> s4. | } \score { << \new Staff = "ossia" \with { \remove "Time_signature_engraver" \hide Clef \hide BarLine \override BarLine.allow-span-bar = ##f \override KeySignature.stencil = ##f \magnifyStaff #2/3 \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 0) (minimum-distance . 0) (padding . 1) (stretchability . 0)) } { \ossiaPart } >> }