1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags
= "editorial-annotations, tweaks-and-overrides"
9 When a note head with a special shape cannot easily be generated with
10 graphic markup, PostScript code can be used to generate the shape.
11 This example shows how a parallelogram-shaped note head is generated.
14 doctitle
= "Using PostScript to generate special note head shapes"
18 #(ly
:make-stencil
(list
'embedded-ps
20 currentpoint translate
32 myNoteHeads
= \override NoteHead
#'stencil
= \parallelogram
33 normalNoteHeads
= \revert NoteHead
#'stencil
39 <f, \tweak #'stencil
\parallelogram b e>4 d