]> git.donarmstrong.com Git - lilypond.git/blob - input/test/preset-extent.ly
Add texidoc index and a few comments.
[lilypond.git] / input / test / preset-extent.ly
1 \version "1.7.18"
2 \header { texidoc = "@cindex Preset Extent
3 Grob extents may be hard coded using grob properties.  This
4 requires Grob::preset_extent () function. " 
5 }
6
7 \score {
8     \context Lyrics \lyrics {
9         \property Lyrics . LyricHyphen \set #'extra-offset = #'(0.0 . -5.0) 
10         foo --
11         \property Lyrics . LyricText \set #'X-extent-callback = #Grob::preset_extent
12         \property Lyrics . LyricText \set #'X-extent = #'(-10.0 . 10.0)
13  bar baz
14         }
15     \paper { raggedright = ##t}
16 }
17     
18 %% new-chords-done %%