lilypond-user
[Top][All Lists]
Advanced

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

Re: Ossia at the first line of a PianoStaff


From: Knute Snortum
Subject: Re: Ossia at the first line of a PianoStaff
Date: Thu, 17 Feb 2022 16:42:27 -0800

On Thu, Feb 17, 2022 at 4:01 PM Jean Abou Samra <jean@abou-samra.fr> wrote:
>
> Le 18/02/2022 à 00:43, Knute Snortum a écrit :
> > On Thu, Feb 17, 2022 at 11:32 AM Jean Abou Samra <jean@abou-samra.fr> wrote:
> > Thanks, that gets rid of the brace.  Is there any way to get rid of
> > the bar span that connects the ossia staff to the piano staff?
>
>
>
> Alright, I was too focused on the bracket. I'm tired, so I may
> be missing a simpler solution, but this should do:
>
> \version "2.22.1"
>
>
> ossia = \markup \small \italic "ossia"
>
> \layout {
>    \context {
>      \Score
>      \remove System_start_delimiter_engraver
>    }
>    \context {
>      \PianoStaff
>      \name InnerPianoStaff
>    }
>    \context {
>      \PianoStaff
>      \accepts InnerPianoStaff
>      systemStartDelimiter = #'SystemStartBar
>    }
> }
>
>
> <<
>    \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
>    }
>    \relative {
>      \stopStaff
>      s1
>      \key c \minor
>      \startStaff ees'4^\ossia g8 f ees2*1/2 \stopStaff
>      s4 s1*2
>      \startStaff g4 ees8 f g2*1/2 \stopStaff
>    }
>    \new PianoStaff \new InnerPianoStaff <<
>      \new Staff = "upper" \relative {
>        \key c \minor
>        c'4 b c2
>        ees4 f ees2
>        g4 aes g2 % \break
>        c4 b c2 \break
>        g4 aes g2
>        ees4 d c2
>      }
>      \new Staff = "lower" \relative {
>        \key c \minor
>        \repeat unfold 24 { \clef bass c4 }
>      }
>    >>
>  >>

Thanks, that looks great!  I hope you're reading this after a good
night's sleep.

--
Knute Snortum



reply via email to

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