]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/stencil-hacking.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / regression / stencil-hacking.ly
index 9cdf19d0df1b41f99297e838cc230d06fc38c3ff..b95fffb857b9f7c44ad65c8ed07f38299097b309 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.7.14"
+\version "2.12.0"
 
 \header { texidoc=" You can write stencil callbacks in Scheme, thus
 providing custom glyphs for notation elements.  A simple example is
@@ -18,7 +18,7 @@ Example usage:
 
   \\property NoteHead \\override #'print-function
                   =
-                     #(parenthesize-callback Note_head::print)
+                     #(parenthesize-callback ly:note-head::print)
                    
 "
 
@@ -49,19 +49,19 @@ GROB.  The dimensions of the stencil is not affected.
    parenthesize-stencil)
     
 
-\layout { raggedright = ##t }
+\layout { ragged-right = ##t }
 \relative c' {
     c4 e
 
     \override NoteHead  #'stencil
     =
-    #(parenthesize-callback Note_head::print)
+    #(parenthesize-callback ly:note-head::print)
     g bes
-    \revert NoteHead  % stencil
+    \revert NoteHead #'stencil
 
     \override Beam  #'stencil
     =
-    #(parenthesize-callback Beam::print)
+    #(parenthesize-callback ly:beam::print)
 
     a8 gis8 a2.