X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fpreset-extent.ly;h=0879702f93a6726d6c894e4973475aad4c1dbb66;hb=197f00037dc4c9e7bd17368f50d11dd8cde7a994;hp=1f974acd743798d67dadd3401061e382b1289135;hpb=309ef52b5f0719315ed3a550f7194a6be027e52a;p=lilypond.git diff --git a/input/test/preset-extent.ly b/input/test/preset-extent.ly index 1f974acd74..0879702f93 100644 --- a/input/test/preset-extent.ly +++ b/input/test/preset-extent.ly @@ -1,20 +1,25 @@ -\version "1.7.16" -\header { +\version "2.1.22" +\header { texidoc = " + +@cindex Preset Extent + + +Grob extents may be hard coded using grob properties. +The lyrics in this example have extent (-10,10) which is why they are +spaced so widely. + +" -texidoc = "Grob extents may be hard coded using grob - properties. This requires Grob::preset_extent () function. -" } \score { \context Lyrics \lyrics { - \property Lyrics . LyricHyphen \set #'extra-offset = #'(0.0 . -5.0) foo -- - \property Lyrics . LyricText \set #'X-extent-callback = #Grob::preset_extent - \property Lyrics . LyricText \set #'X-extent = #'(-10.0 . 10.0) + + \override LyricText #'X-extent = #'(-10.0 . 10.0) bar baz } \paper { raggedright = ##t} } -%% new-chords-done %% +