lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: Drum staff et \RemoveEmptyStaffContext


From: Martial
Subject: Re: Drum staff et \RemoveEmptyStaffContext
Date: Sun, 29 Nov 2009 11:53:08 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Bonjour,


Le problème est le même en changeant "DrumStaff" par "RhythmicStaff"

Utiliser RhythmicStaff et mettre ceci dans le layout :
\RemoveEmptyRhythmicStaffContext

%%---------------------
\score {

<<
\new RhythmicStaff {
        \set RhythmicStaff.instrumentName = "Drm1"
        \set RhythmicStaff.shortInstrumentName = "drm1"
    \repeat unfold 5 { s1 }
    \break
    \repeat unfold 3  { c8 c8 r2. }
    \break
}

\new Staff {
        \set Staff.instrumentName = "Inst1"
        \set Staff.shortInstrumentName = "ints1"
        \repeat unfold 10 { c'8 e' g' c'' g' e' c' b }
}

>>

\layout {
          \context {
                  \RemoveEmptyStaffContext
                  \override VerticalAxisGroup #'remove-first = ##t
        }
          \context {
                  \RemoveEmptyRhythmicStaffContext
                  \override VerticalAxisGroup #'remove-first = ##t
         }
        }
 }
%%---------------------

--
Martial







reply via email to

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