]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lyric-hyphen-retain.ly
*** empty log message ***
[lilypond.git] / input / regression / lyric-hyphen-retain.ly
index d10aa84285ac487a15eb3a196d86682866331ec6..0731b194111fceb9758c5942894578eed011531f 100644 (file)
@@ -1,59 +1,32 @@
-
-\version "2.6.0"
-
 \header {
 
-  texidoc = "In tightly engraved music, hyphens are removed, except at the
-end of the line.  Normally, lyrics are not typeset so tightly, but by
-tuning down @code{padding} of in @code{SeparationItem}, syllables are put 
-closer together, and as a result hyphens may disappear.
-
-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 setting @code{spacing-procedure} to
-@code{Hyphen_spanner::set_spacing_rods} of the @code{LyricHyphen}
-grob.  The @code{minimum-length} property may be used to tune the
-amount
-
-"
+  texidoc = "The minimum distance between lyrics are determined by the
+@code{minimum-distance} of @code{LyricHyphen} and
+@code{LyricSpace}. The hyphen is omitted when it would be shorter than
+its @code{minimum-length} setting."
 
 }
 
+\version "2.7.39"
 
-<<
-  \new Staff \relative c'' {
-    \time 1/4 c16[ c c  c]
-    \time 1/4
-    c16[ c c c]
-    \time 1/4
-    c16[ c c c]
-
-  }
-  \new Lyrics \with {
-                               % Otherwise lyrics are so far apart that hyphens don't disappear
-    \override SeparationItem #'padding = #0.0
-  }
-  \lyricmode {
-    bla -- bla -- bla -- bla --
-    bla -- bla -- bla -- bla --
-
-    \override LyricHyphen  #'minimum-length = #0.7
-    \override LyricHyphen  #'spacing-procedure =
-    #Hyphen_spanner::set_spacing_rods
-
-    bla -- bla -- bla -- bla 
-  }
->>
-  \layout   {
-    indent = 0.0 \cm
-    linewidth = 3.4 \cm
-
-    \context {
-      \Staff \remove "Time_signature_engraver"
-    }
-    
-  }
-  
+\layout {
+  ragged-right = ##t
+}
 
 
-  
+\relative c'' {
+  \time 2/4
+  c32 c c c 
+  c32 c c c 
+  c32 c c c 
+  c32 c c c 
+  c32 c c c 
+}
+\addlyrics
+{
+   syl -- lab word
+   \once \override LyricHyphen #'minimum-distance = #0.0
+   syl -- lab word
+   \override LyricSpace #'minimum-distance = #0.0
+   syl -- lab word
+}