]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/using-postscript-to-generate-special-note-head-shapes.ly
Doc-it: chapter 1 completed
[lilypond.git] / Documentation / snippets / using-postscript-to-generate-special-note-head-shapes.ly
index c4208023a6de695d4139222347cc6942b7eb0a8d..8be7366032189449f44ae89ce5a4815cc0e56254 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.14.2"
+\version "2.17.25"
 
 \header {
   lsrtags = "editorial-annotations, really-cool, scheme-language, tweaks-and-overrides"
@@ -34,12 +34,12 @@ parallelogram =
     (cons 0 1.3125)
     (cons -.75 .75))
 
-myNoteHeads = \override NoteHead #'stencil = \parallelogram
-normalNoteHeads = \revert NoteHead #'stencil
+myNoteHeads = \override NoteHead.stencil = \parallelogram
+normalNoteHeads = \revert NoteHead.stencil
 
 \relative c'' {
   \myNoteHeads
   g4 d'
   \normalNoteHeads
-  <f, \tweak #'stencil \parallelogram b e>4 d
+  <f, \tweak stencil \parallelogram b e>4 d
 }