lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disappearing hyphens (endashes) in lyrics


From: Kieren MacMillan
Subject: Re: Disappearing hyphens (endashes) in lyrics
Date: Sun, 16 Oct 2011 16:42:20 -0400

Hi Peter,

Are you simply trying to replace Lilypond's inter-syllable hyphen with an 
emdash? If so, just override it directly:

\version "2.15.14"
\paper { ragged-right = ##f }
MD = {
  \once \override LyricHyphen #'stencil = #ly:text-interface::print
  \once \override LyricHyphen #'text = "—"
  \once \override LyricHyphen #'X-offset = #4.5
}
theNotes = \relative c' { c4 c c c c c c c }
theWords = \lyricmode { Nor -- mal \MD re -- placed nor -- mal nor -- mal }
\score {
  <<
    \new Staff \theNotes
    \addlyrics \theWords
  >>
}

Anyway, this should give you some ideas and point you in the right direction.
(n.b., There's probably a more elegant way than the manual X-offset, but I 
don't have time to work it out right now.)

Hope this helps!
Kieren.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]