Next: , Previous: Entering lyrics, Up: Vocal music


7.3.3 Hyphens and extenders

Centered hyphens are entered as `--' between syllables. The hyphen will have variable length depending on the space between the syllables and it will be centered between the syllables.

When a lyric is sung over many notes (this is called a melisma), this is indicated with a horizontal line centered between a syllable and the next one. Such a line is called an extender line, and it is entered as `__'.

In tighly engraved music, hyphens can be removed. In some languages (e.g. German and Hungarian), hyphens should not disappear, since spelling depends on hyphenation. For that purpose, hyphens can be forced to remain by overriding minimum-length of the LyricHyphen grob.

     \score {
     <<
       \new Staff \relative c'' {
         \time 1/4 c16 c c c c16 c c c c16 c c c
       } % closes notes
       \lyricmode { \new Lyrics
         \with {
         \override SeparationItem #'padding = #0.0
           % Otherwise lyrics are so far apart that hyphens don't disappear
         } % closes with
         {
           An -- ti -- cons -- ti --
           tu -- tion -- nel -- le --
           \override LyricHyphen  #'minimum-length = #0.7
           \override LyricHyphen  #'spacing-procedure =
             #Hyphen_spanner::set_spacing_rods
           men -- taire -- ment. ouf~!
         } % closes lyrics
       } %closes lyricmode
     >>
     \layout   {
       indent = 0.0 \cm
       linewidth = 3.4 \cm
       \context {
         \Staff \remove "Time_signature_engraver"
       } % closes context
     } % closes layout
     } % closes score

[image of music]

See also

Program reference: LyricHyphen, LyricExtender.

This page is for LilyPond-2.6.3 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.