]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/using-postscript-to-generate-special-note-head-shapes.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / using-postscript-to-generate-special-note-head-shapes.ly
index c4208023a6de695d4139222347cc6942b7eb0a8d..cc628a3b4a2d46af22563833707124fe940f75b7 100644 (file)
@@ -1,10 +1,10 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.14.2"
+\version "2.18.0"
 
 \header {
   lsrtags = "editorial-annotations, really-cool, scheme-language, tweaks-and-overrides"
@@ -18,7 +18,6 @@ This example shows how a parallelogram-shaped note head is generated.
   doctitle = "Using PostScript to generate special note head shapes"
 } % begin verbatim
 
-
 parallelogram =
   #(ly:make-stencil (list 'embedded-ps
     "gsave
@@ -34,12 +33,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
 }