]> git.donarmstrong.com Git - lilypond.git/commitdiff
(texidoc): added file.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 9 Aug 2002 13:40:56 +0000 (13:40 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 9 Aug 2002 13:40:56 +0000 (13:40 +0000)
input/test/preset-extent.ly [new file with mode: 0644]

diff --git a/input/test/preset-extent.ly b/input/test/preset-extent.ly
new file mode 100644 (file)
index 0000000..570dbec
--- /dev/null
@@ -0,0 +1,18 @@
+\header {
+
+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 #'extent-X = #'(-10.0 . 10.0)
+ bar baz
+       }
+    \paper { linewidth = -1.0 }
+}
+