lilypond-user
[Top][All Lists]
Advanced

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

Prevent Repeats in Ossia


From: Bobby Smith
Subject: Prevent Repeats in Ossia
Date: Sat, 19 Feb 2011 14:41:10 -0800

I am trying to create an ossia that is above a measure with repeats. Is it possible to prevent the repeats from appearing in the ossia but at the same time, preserve the bar lines and prevent the staves from extending past the last bar?

Here is a a code snippet that demonstrates...

\version "2.12.3"

\new Staff = main \relative c'' {
  c4 b d c
  <<
    { c4 b d c }
    \new Staff \with {
      \remove "Time_signature_engraver"
      alignAboveContext = #"main"
      fontSize = #-3
      \override StaffSymbol #'staff-space = #(magstep -3)
      \override StaffSymbol #'thickness = #(magstep -3)
      firstClef = ##f
    }
    \repeat volta 2 { e4 d f e }
  >>
}

Thanks!

Bobby

reply via email to

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