On 11/12/2012 02:51, MING TSANG wrote:
I
have trouble placing aa="\with
{\consists #numbrUP}" or bb="\with
{\consists #numbrDOWN}" .
I suppose you didn't include the " in the actual code, did you?
Right
now the test_number.ly compile with out as seen on
test_numbr.pdf.
I
cannot compile if I add aa to \new voice = "soprano"
I
cannot compile if I add bb to \new voice = "alto"
I cannot compile if I add bb
to \new voice = "bass"
If I code \new Staff \with {\consists #numbrUP ......
I can see numbered pitch stacked on top of the Staff. Please
refer to test_numbrSA.pdf and test_numbrSA.ly. One other
problem the on third last notes the numbered pitch display in
wrong stack order.
Actually, I cannot reproduce that problem. Here it works fine if I
write \new voice="soprano" \with {\aa} {...}, like:
nup=\with { \consists #numbrUP }
ndown=\with { \consists #numbrDOWN }
choirPart = \new ChoirStaff <<
\new Staff \with {
instrumentName = \markup \center-column { "S." "A." }
shortInstrumentName = \markup \center-column { "S." "A." }
} << \clef treble
\new Voice = "soprano" \with{ \nup } {\voiceOne \sopranoVoice
}
\new Voice = "alto" \ndown {\voiceTwo \altoVoice }
\new Lyrics \lyricsto "soprano" { \verseSopranoVoice }
\new Lyrics \lyricsto "soprano" {\chineseLyrics}
>>
>>
See the attached file for the full code. Notice that you have to
place the \with {\nup} and \ndown where you would put the \with
clause for the voice. If you want, you can leave out the \with, like
I did in the alto voice above, but in my opinion this is harder to
read than when you include the \with.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://www.kainhofer.com
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com