X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fusing-postscript-to-generate-special-note-head-shapes.ly;fp=input%2Flsr%2Fusing-postscript-to-generate-special-note-head-shapes.ly;h=0000000000000000000000000000000000000000;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=e02b27e8610dca1e6ec7861502c37177d0ff2612;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/input/lsr/using-postscript-to-generate-special-note-head-shapes.ly b/input/lsr/using-postscript-to-generate-special-note-head-shapes.ly deleted file mode 100644 index e02b27e861..0000000000 --- a/input/lsr/using-postscript-to-generate-special-note-head-shapes.ly +++ /dev/null @@ -1,51 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. -\version "2.12.3" - -\header { - lsrtags = "editorial-annotations, tweaks-and-overrides" - - texidocfr = " -Lorsqu'il est impossible d'obtenir facilement une allure particulière -pour les têtes de note en recourant à la technique du @code{\\markup}, un -code Postscript peut vous tirer d'embarras. Voici comment générer des -têtes ressemblant à des parallélogrammes. - -" - doctitlefr = "Utilisation de Postscript pour générer des têtes de note à l'allure particulière" - - texidoc = " -When a note head with a special shape cannot easily be generated with -graphic markup, PostScript code can be used to generate the shape. -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 - currentpoint translate - newpath - 0 0.25 moveto - 1.3125 0.75 lineto - 1.3125 -0.25 lineto - 0 -0.75 lineto - closepath - fill - grestore" ) - (cons 0 1.3125) - (cons 0 0)) - -myNoteHeads = \override NoteHead #'stencil = \parallelogram -normalNoteHeads = \revert NoteHead #'stencil - -\relative c'' { - \myNoteHeads - g4 d' - \normalNoteHeads - 4 d -} - -