Aligning syllables with melisma: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
By default, lyrics syllables that start a melisma are left aligned on their note. The alignment can be altered using the <code>lyricMelismaAlignment</code> property.
By default, lyrics syllables that start a melisma are left-aligned on their note. The alignment can be altered using the <code>lyricMelismaAlignment</code> property.


<lilypond version="2.24.0">
<lilypond version="2.24">
\score {
<<
  <<
  \new Staff {
    \new Staff {
    \new Voice = "vocal" \relative c'' {
      \relative c''  
       \override TextScript.staff-padding = #2
       \new Voice = "vocal" {
      c d~^\markup default  d e
        c d~^\markup default  d e
      c d~^\markup "right aligned" d e
        c d~^\markup "right aligned" d e
      c d~^\markup "center aligned" d e
        c d~^\markup "center aligned" d e
      c d~^\markup "reset to default" d e
        c d~^\markup "reset to default" d e
      }
     }
     }
    \new Lyrics \lyricsto "vocal" {  
  }
      word word word  
  \new Lyrics \lyricsto "vocal" {
      \set lyricMelismaAlignment = #RIGHT  
    word word word  
      word word word  
    \set lyricMelismaAlignment = #RIGHT  
      \set lyricMelismaAlignment = #CENTER  
    word word word  
      word word word  
    \set lyricMelismaAlignment = #CENTER  
      \unset lyricMelismaAlignment
    word word word  
      word word word  
    \unset lyricMelismaAlignment
    }
    word word word  
  >>
  }
>>
 
\layout {
  ragged-right = ##f
}
}
</lilypond>
</lilypond>


[[Category:Text]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Text]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]