]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/using-postscript-to-generate-special-note-head-shapes.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / using-postscript-to-generate-special-note-head-shapes.ly
index b05b1f20addad296130cebde1156f7e4d57790c4..fba144878c4a6b897a0277132af9492266c56b84 100644 (file)
@@ -1,20 +1,13 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.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.13.16"
+\version "2.14.2"
 
 \header {
-  lsrtags = "editorial-annotations, tweaks-and-overrides"
-
-%% Translation of GIT committish: 522d964c61521ed64f352c4774c4f2860f7ae5ec
-  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"
+  lsrtags = "really-cool, scheme-language, editorial-annotations, tweaks-and-overrides"
 
   texidoc = "
 When a note head with a special shape cannot easily be generated with
@@ -25,6 +18,7 @@ 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
@@ -38,7 +32,7 @@ parallelogram =
       fill
       grestore" )
     (cons 0 1.3125)
-    (cons 0 0))
+    (cons -.75 .75))
 
 myNoteHeads = \override NoteHead #'stencil = \parallelogram
 normalNoteHeads = \revert NoteHead #'stencil
@@ -49,5 +43,3 @@ normalNoteHeads = \revert NoteHead #'stencil
   \normalNoteHeads
   <f, \tweak #'stencil \parallelogram b e>4 d
 }
-
-