lilypond-user
[Top][All Lists]
Advanced

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

Re: Remove Empty Stave but not all


From: Helge Kruse
Subject: Re: Remove Empty Stave but not all
Date: Sun, 23 Feb 2014 21:04:30 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Here is the SSCCE for the problem. How can I show one line for measures 11 to 24?

Regards
Helge

\version "2.18.0"

rhythm = \relative c' {
  \time 2/2  s1*10
  \mark\default
  \time 3/4  s2.*5
  \mark\default
  \time 2/2  s1*18
  \mark\default
  \time 3/4  s1*20
}

triange = \relative c' {
  \compressFullBarRests
  \repeat unfold 4 { a4 r r2 }
  \repeat unfold 6 { R1 }
  \repeat unfold 5 { R2. }
  \repeat unfold 18 { R1 }
  \repeat unfold 20 { R2. }
}

drum = \relative c' {
  \compressFullBarRests
  \repeat unfold 4 { R1 }
  \repeat unfold 6 { R1 }
  \repeat unfold 5 { R2. }
  \repeat unfold 18 { R1 }
  \repeat unfold 20 { c4 r c }
}

\score {
  \new StaffGroup <<
    \new Staff \rhythm
    \new RhythmicStaff \with { shortInstrumentName = "tr-le" } \triange
    \new RhythmicStaff \with { shortInstrumentName = "cassa" } \drum
  >>
}
\layout {
  \context { \Staff \RemoveEmptyStaves }
  \context { \RhythmicStaff \RemoveEmptyStaves }
}




Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift


reply via email to

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