X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fusing-postscript-to-generate-special-note-head-shapes.ly;h=cc628a3b4a2d46af22563833707124fe940f75b7;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=e42137ee4181de78469319568a2a69de1c769fbe;hpb=820bbcbc38981f5a1866f291cdf40042ea686db0;p=lilypond.git diff --git a/Documentation/snippets/using-postscript-to-generate-special-note-head-shapes.ly b/Documentation/snippets/using-postscript-to-generate-special-note-head-shapes.ly index e42137ee41..cc628a3b4a 100644 --- a/Documentation/snippets/using-postscript-to-generate-special-note-head-shapes.ly +++ b/Documentation/snippets/using-postscript-to-generate-special-note-head-shapes.ly @@ -1,23 +1,13 @@ %% 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, tweaks-and-overrides, scheme-language" - -%% Translation of GIT committish: 5a898cf43a2a78be6c3a58e4359dccd82196fbe7 - 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 = "editorial-annotations, really-cool, scheme-language, tweaks-and-overrides" texidoc = " When a note head with a special shape cannot easily be generated with @@ -28,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 @@ -44,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 - 4 d + 4 d }