]> git.donarmstrong.com Git - lilypond.git/commitdiff
renew.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 8 Dec 2005 13:27:30 +0000 (13:27 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 8 Dec 2005 13:27:30 +0000 (13:27 +0000)
ChangeLog
Documentation/topdocs/NEWS.tely
input/regression/lyric-hyphen-retain.ly

index 643bebc3faf7246f49fcc5b65db1ac48b48d1d9d..684f3c8e7a6147deb4e3c1ce04612d5dac99733b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-12-08  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * input/regression/lyric-hyphen-retain.ly: renew.
+
        * scm/define-grobs.scm (all-grob-descriptions): add LyricSpace
        grob
 
index 069dbd931e3aecdb1ec2c9c46bf59cb52d002108..7ee4c2c2df18e6c39dfe549d35e95cace8f1c275 100644 (file)
@@ -45,6 +45,11 @@ This document is also available in @uref{NEWS.pdf,PDF}.
 
 
 @itemize @bullet
+@item Spaces between lyrics and distance between syllables with
+hyphens may now be separately tuned.
+
+This feature has been sponsored by Bertalan Fodor.
+
 @item A MusicXML importer is included now.
 
 @item Texts set in a TrueType font are now kerned. This requires CVS
index d066169fcc821437776e9711b879a7aa1ac56a3f..6b3a2ede6d7c9301565780879df5cf2834bc413e 100644 (file)
@@ -1,59 +1,38 @@
-
-\version "2.7.14"
-
 \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.22"
 
-<<
-  \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
+\layout {
+  \context {
+    \Lyrics
+    \remove Separating_line_group_engraver
   }
-  \lyricmode {
-    bla -- bla -- bla -- bla --
-    bla -- bla -- bla -- bla --
 
-    \override LyricHyphen  #'minimum-length = #0.7
-    \override LyricHyphen  #'springs-and-rods =
-    #Hyphen_spanner::set_spacing_rods
+  raggedright = ##t
+}
 
-    bla -- bla -- bla -- bla 
-  }
->>
-  \layout   {
-    indent = 0.0 \cm
-    linewidth = 3.4 \cm
-
-    \context {
-      \Staff \remove "Time_signature_engraver"
-    }
-    
-  }
-  
 
 
-  
+{
+  \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
+}