[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
chords under endings updated but now for staffgroup?
From: |
Paul Scott |
Subject: |
chords under endings updated but now for staffgroup? |
Date: |
Tue, 30 Nov 2004 00:36:48 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5 |
The code that Mats provided for 2.2.x to put chords under endings works
in 2.4.2 in this form:
\score{
<<
\new ChordNames \chords{
\repeat volta 2 {
f1:maj f:7} \alternative{{bes:7}{c:maj}}
}
\new Staff \relative c'{
\repeat volta 2 { c4 d e f g a b c } \alternative{{g2 e }{c1}}
}
>>
\layout { %was paper
\context {
\Score %was ScoreContext
\consists "Volta_engraver"
\override VoltaBracket #'minimum-space = #0
}
\context {
\Staff %was \StaffContext
\remove "Volta_engraver"
}
}
}
but now I want a StaffGroup and I don't know enough about contexts and
engravers yet to know why the following puts the chords over the endings
again:
music = \relative c' {
\repeat volta 2 { c4 d e f g a b c } \alternative{{g2 e }{c1}}
}
\score{
<<
\new ChordNames \chords{
\repeat volta 2 {
f1:maj f:7} \alternative{{bes:7}{c:maj}}
}
\new StaffGroup <<
\new Staff << \music >>
\new Staff << \music >>
>>
>>
\layout { %was paper
\context {
\Score %was ScoreContext
\consists "Volta_engraver"
\override VoltaBracket #'minimum-space = #0
}
\context {
\StaffGroup %was \StaffContext
\remove "Volta_engraver"
}
}
}
Can anyone help me add the StaffGroup here correctly to get the chord
names under the endings? I did just find Section 7.1 in the manual but
may take me a while to digest that.
Thanks,
Paul Scott
- chords under endings updated but now for staffgroup?,
Paul Scott <=