Hi Mats,
That's unnecessarily complicated, just use the remove-empty
property, see
http://lists.gnu.org/archive/html/lilypond-user/2007-07/msg00776.html
This didn't used to work (which is why we used the "unnecessarily
complicated" workaround), and certainly the attached snippet still
doesn't:
What am I *supposed* to be doing?
Thanks,
Kieren.
\version "2.11.65"
staffA =
{
\repeat "unfold" 6 { c''1 c'' \break }
}
staffB =
{
R1 R \override Staff.VerticalAxisGroup #'remove-empty = ##t
R1 R \override Staff.VerticalAxisGroup #'remove-empty = ##f
R1 R \override Staff.VerticalAxisGroup #'remove-empty = ##t
R1 R \override Staff.VerticalAxisGroup #'remove-empty = ##f
R1 R \override Staff.VerticalAxisGroup #'remove-empty = ##t
R1 R
}
\score
{
<<
\new Staff \staffA
\new Staff \staffB
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user