MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / lyric-hyphen-retain.ly
blob5cb5042d69af1abb8f8cc77eada86fced264ca54
1 \header {
3 texidoc = "The minimum distance between lyrics is determined by the
4 @code{minimum-distance} of @code{LyricHyphen} and
5 @code{LyricSpace}.
7 The ideal length of a hyphen is determined by its @code{length}
8 property, but it may be shortened down to @code{minimum-length} in
9 tight situations. If in this it still does not fit, the hyphen will be
10 omitted.
12 Like all overrides within @code{\\lyricsto} and @code{\\addlyrics}, the
13 effect of a setting is delayed is one syllable."
17 \version "2.12.0"
19 \layout {
20 ragged-right = ##t
24 \relative c'' {
25 \time 2/4
26 c32 c c c
27 c32 c c c
28 c32 c c c
29 c32 c c c
30 c32 c c c
32 \addlyrics
34 %% tight spacing: hyphen disappears
35 syl -- lab word
37 %% increase minimum-distance: forces more space, so hyphen reappears
38 \override LyricHyphen #'minimum-distance = #1.0
39 syl -- lab word
41 %% minimum-distance 0 for LyricSpace: this places words next to each other.
42 \override LyricSpace #'minimum-distance = #0.0
43 syl -- lab word