-\version "1.3.59";
+\version "1.7.19"
+% TODO: check if we really need both hara-kiri-switch.ly and
+% hara-kiri.ly. -gp
+\header { texidoc = "@cindex Hara Kiri
+Hara kiri staves disappear when empty. " }
-toeter_i = \notes\relative c <{
+% todo: use partcombine?, junk?
+
+toeterI = \notes\relative c <{
\property Staff.instrument = #"Toeters"
\property Staff.instr = #"Ttr." }
- \context Voice = lower { \stemdown s1*6 }
- \context Voice = upper { \stemup s1*6 }
+ \context Voice = lower { \stemDown s1*6 }
+ \context Voice = upper { \stemUp s1*6 }
\context Voice = together {
c'''4^"toet I" c c c
g g g g
}>
-toeter_ii = \notes \relative c \context Voice = together {
+toeterIi = \notes \relative c \context Voice = together {
c''4^"toet II" c c c
d d d d
R1
\context Voice = lower {
- \stemdown
+ \stemDown
e4 e e e
}
f f f f
g g g g
}
-toeters = \context Staff = toeters <
- \toeter_i
- \toeter_ii
+toeters = \context Staff = toeters <
+ \toeterI
+ \toeterIi
>
-zager = \context Staff = zager \notes \relative c'' {
- \clef treble;
+zager = \context Staff = zager \notes \relative c'' {
+ \clef treble
\property Staff.instrument = #"Zager"
\property Staff.instr = #"Zag."
c4^"zag" d e f
f e d c
c d e f
\property Staff.instr = #"Zag."
- \stemup
+ \stemUp
f e d c
c d e f
f e d c
}
-zoger = \context Staff = zoger \notes \relative c'' {
- \clef treble;
+zoger = \context Staff = zoger \notes \relative c'' {
+ % Hmm
+ \property Staff.HaraKiriVerticalGroup \override
+ #'items-worth-living = #'(#t #t)
+
+
+ \clef treble
\property Staff.instrument = #"Zoger"
\property Staff.instr = #"Zog."
c4^"zog" d e f
- \skip 1*2;
-
+ \skip 1*2
\translator Staff=zager
- \stemdown
+ \stemDown
c2 g2
a4 b c d
- \skip 1*1;
+ \skip 1*1
}
-zagers = \context GrandStaff <
+zagers = \context GrandStaff <
\zager
\zoger
>
>
>
\paper{
- linewidth = 80.0\mm;
- \translator { \HaraKiriStaffContext }
+ linewidth = 100.0\mm
+ \translator { \RemoveEmptyStaffContext }
%uh?
\translator { \OrchestralScoreContext }
% \translator { \OrchestralPartStaffContext }
}
+