Hi again,
another solution would have been to put the ossia as a markup, e.g. :

\version "2.18.2"

ossia =
  \tweak self-alignment-X #RIGHT
  \tweak padding #3
  \mark\markup\score {
  \new Staff
  \with {
    alignAboveContext = #"myStaff"
    \omit Clef
    \omit TimeSignature
    fontSize = #-3
    \override StaffSymbol.staff-space = #(magstep -3)
    \override StaffSymbol.thickness = #(magstep -3)
  }
  \relative c' {
    \stopStaff\partial 8 s8
    \startStaff
      <<
        { e4 g8 f e2 }
        {
          % here's how to enlarge the ossia
          \hide MultiMeasureRest
          \override MultiMeasureRest.minimum-length = #31
          R1
        }
      >>
    \stopStaff
  }
  \layout { }
}

\new Staff \relative c' {
  c4 b c2
  e4 f e2
  \ossia
  \key a \major
  g4 a g2
  \break
  c4 b c2
}

Cheers,
Pierre
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to