[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lyric hyphens, preferred and otherwise
From: |
Joel C. Salomon |
Subject: |
Re: Lyric hyphens, preferred and otherwise |
Date: |
Wed, 9 Oct 2013 15:53:38 -0400 |
On Wed, Oct 9, 2013 at 2:53 PM, Kieren MacMillan
<address@hidden> wrote:
> You can force adjacent lyrics to be a minimum distance apart — that should do
> it:
<snip>
> \override LyricHyphen #'minimum-distance = #1
Thank you. Since I don't need that everywhere, I turned that idea into
the code below.
--Joel
\version "2.16.2"
realHyphen =
#(define-music-function
(parser location text)
(ly:music?)
#{
\override LyricHyphen #'minimum-distance = #1
#text
\revert LyricHyphen #'minimum-distance
#})
\score {
<<
\relative c'' { c4 c c c }
\addlyrics {
\realHyphen { two -- part }
two -- part
}
>>
}