*** This refers to LM 3.2.3 "Voices and vocals" ***
Trevor Daniels wrote:
> I put this in after several questions on -user about how
> this should be done, but I wasn't very happy with it. If
> you can come up with a better way of coding a solo verse
> going into a two-part refain let's change it.
Well, the proper way of doing it requires (I think) this
rather advanced \layout block:
\layout {
ragged-right = ##t
\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
}
}
I'd be surprised if anyone was okay with having that in the
LM, but in either case, what's there now needs to be removed
or replaced. Of the two solutions presented, the nested
contexts in the first are too convoluted, and the method of
using two \score blocks (given in the second solution) is
semantically incorrect.
I've attached a solution here. Have a look at it and let me
know what you think.
- Mark
\version "2.13.20"
global = {
\key g \major
\time 3/4
s2.*2
\break
\time 2/4
s2*2
\bar "|."
}
SoloNotes = {
\clef "treble"
\relative g' {
g4 g g |
b4 b b |
}
R2*2 |
}
SoloLyrics = \lyricmode {
One two three |
four five six |
}
SopranoNotes = {
\clef "treble"
R2.*2 |
\relative c'' {
c4 c |
g4 g |
}
}
SopranoLyrics = \lyricmode {
la la |
la la |
}
BassNotes = {
\clef "bass"
R2.*2 |
\relative c {
c4 e |
d4 d |
}
}
BassLyrics = \lyricmode {
dum dum |
dum dum |
}
\score {
<<
\new Voice = "SoloVoice" << \global \SoloNotes >>
\new Lyrics \lyricsto "SoloVoice" \SoloLyrics
\new ChoirStaff <<
\new Voice = "SopranoVoice" << \global \SopranoNotes >>
\new Lyrics \lyricsto "SopranoVoice" \SopranoLyrics
\new Voice = "BassVoice" << \global \BassNotes >>
\new Lyrics \lyricsto "BassVoice" \BassLyrics
>>
>>
\layout {
ragged-right = ##t
\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
}
}
}
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel