]> git.donarmstrong.com Git - lilypond.git/commitdiff
* input/regression/lyric-hyphen-retain.ly: renew.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 8 Dec 2005 13:47:26 +0000 (13:47 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 8 Dec 2005 13:47:26 +0000 (13:47 +0000)
* scm/define-grobs.scm (all-grob-descriptions): add LyricSpace
grob

Documentation/topdocs/NEWS.tely
Documentation/user/instrument-notation.itely
input/regression/lyric-hyphen-retain.ly
scm/define-grobs.scm

index 7ee4c2c2df18e6c39dfe549d35e95cace8f1c275..7bbb59636921b665d627953ff2780cf9ce4167c2 100644 (file)
@@ -46,7 +46,8 @@ 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.
+hyphens may now be separately tuned through the
+@internalsref{LyricSpace} grob.
 
 This feature has been sponsored by Bertalan Fodor.
 
index 29fa05754d5c96ef2517a4f08ef4f96a55a2c872..f33aa418146af73a0fadbbe5a7a3b4b2b2eab93f 100644 (file)
@@ -880,7 +880,7 @@ combination of a backslash followed by one of @code{`}, @code{'},
 
 @seealso
 
-Program reference: @internalsref{LyricText}.
+Program reference: @internalsref{LyricText}, @internalsref{LyricSpace}.
 
 @refbugs
 
@@ -903,42 +903,10 @@ indicated with a horizontal line centered between a syllable and the
 next one.  Such a line is called an extender line, and it is entered as
 `@code{__}'.
 
-In tighly engraved music, hyphens can be removed.  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 by overriding @code{minimum-length} of
-the @code{LyricHyphen} grob.
-
-@lilypond[quote,verbatim,raggedright]
-\score {
- <<
-  \new Staff \relative c'' {
-    \time 1/4 c16 c c c c16 c c c c16 c c c
-  }
-  \lyricmode { \new Lyrics
-    \with {
-      \override SeparationItem #'padding = #0.0
-      % Otherwise lyrics are so far apart that hyphens don't disappear
-    } 
-    {
-      An -- ti -- cons -- ti --
-      tu -- tion -- nel -- le --
-      \override LyricHyphen  #'minimum-length = #0.7
-      \override LyricHyphen  #'springs-and-rods =
-        #Hyphen_spanner::set_spacing_rods
-      men -- taire -- ment. ouf~!
-    }
-  }
- >>
- \layout   {
-  indent = 0.0 \cm
-  linewidth = 3.4 \cm
-  \context {
-    \Staff \remove "Time_signature_engraver"
-  }
- }
-}
-@end lilypond
+In tighly engraved music, hyphens can be removed.  Whether this
+happens can be controlled with the @code{minimum-distance} (minimum
+distance between two syllables) and the @code{minimum-length}
+(threshold below which hyphens are removed).
 
 @seealso
 
index 6b3a2ede6d7c9301565780879df5cf2834bc413e..c9af3bfe0d4af9579b6f7423314b353361d64413 100644 (file)
@@ -10,17 +10,11 @@ its @code{minimum-length} setting."
 \version "2.7.22"
 
 \layout {
-  \context {
-    \Lyrics
-    \remove Separating_line_group_engraver
-  }
-
   raggedright = ##t
 }
 
 
-
-{
+\relative c'' {
   \time 2/4
   c32 c c c 
   c32 c c c 
index 7528f93ef6decc58a752c85c40161fd65b546205..f9cc03ebddf00dbac733819ff6ed2b9fb448c55f 100644 (file)
        (dash-period . 10.0)
        (length . 0.66)
        (minimum-length . 0.3)
-       (minimum-distance . 0.5)
+       (minimum-distance . 0.1)
        (padding . 0.07)
        (springs-and-rods . ,Hyphen_spanner::set_spacing_rods)