On Sun 21 Apr 2024 at 18:45:35 (+0200), Hans Aikema wrote: > > On 21 Apr 2024, at 17:58, Gian Paolo Renello wrote: > > > > I read as you suggested but didn't find the way. Here is hte piece of score > > code: > > > > \score{ > > \new StaffGroup << > > \new Staff \with { > > midiInstrument = "choir aahs" > > instrumentName = "Soprani" > > } { \soprano } > > \addlyrics {\sopranoVerse_sup} > > \addlyrics { \sopranoVerse_ru } > > \addlyrics { \sopranoVerse } > > > > You can’t use the \addlyrics shortcut when you want to place the lyrics above > the staff. You’ll have to use the \new Lyrics construct (as shown in the > notation manual) for those lyrics.
I have no problem using \addlyrics above the staff. The attached shows an example, with verses 1 and 2 aligned to the soprano, and verses 3, 4 and 5 to the alto, tenor and bass respectively. (You wouldn't do it like this for a strophic hymn, but if you exclude verse 2, it illustrates a layout for a 4-part non-homophonic composition.) > \addlyrics is very limited in customisation power, it’s a shorthand for > creating the new Lyrics to the preceding voice (the music in between the > braces ( {\soprano} ) implicitly creates an unnamed voice. But its placement can refer to the staves, as you appeared to say earlier: > > The preferred way is by coding the '\with { alignAboveContext = “<name of > > the staff>” }` to the Lyrics assigned to the Solo in your piece. Cheers, David.
\version "2.24.0" \language english \header { tagline = ##f } global = { \key g \major \time 4/4 \partial 2 s2 s1 s2 s2 s1 s2 \bar "" \break } soprano = \relative { d'4 fs g4. g8 g[( fs]) g[( a]) a4 g g4 b d4. b8 b[( a]) g[( fs]) g2 } alto = \relative { d'4 c d4. d8 d4 d8[( fs]) fs4 g4 d4 g g4. g8 e4 d d2 } tenor = \relative { b4 a g4. b8 b[( a]) b[( c]) c4 b b4 g g4. d'8 d[( c]) b[( a]) b2 } bass = \relative { g,4 a b4. g8 d'4 d d g g4 e b4. g8 c4 d g,2 } texti = \lyricmode { \set stanza = "1." Once in roy -- al Da -- vid’s Ci -- ty Stood a low -- ly cat -- tle __ shed, } textii = \lyricmode { \set stanza = "2." He came down to earth from hea -- ven Who is God and Lord of __ all, } textiii = \lyricmode { \set stanza = "3." And through all his won -- drous child -- hood He would hon -- our and o -- bey, } textiv = \lyricmode { \set stanza = "4." For he is our child -- hood’s pat -- tern, Day by day like us __ he __ grew; } textv = \lyricmode { \set stanza = "5." And our eyes at last shall see him Through his own re -- deem -- ing love, } \score { \new ChoirStaff << \new Staff = streb << \clef treble \global \new Voice { \voiceOne \soprano } \addlyrics \with { alignAboveContext = streb } { \texti } \addlyrics { \textii } \new Voice { \voiceTwo \alto } \addlyrics { \textiii } >> \new Staff = sbass << \clef bass \global \new Voice { \voiceOne \tenor } \addlyrics \with { alignAboveContext = sbass } { \textiv } \new Voice { \voiceTwo \bass } \addlyrics { \textv } >> >> \layout { indent = 0 \context { \Staff \omit TimeSignature } } }
once.pdf
Description: Adobe PDF document