X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsnippets%2Fusing-postscript-to-generate-special-note-head-shapes.ly;h=cc628a3b4a2d46af22563833707124fe940f75b7;hb=ef31f0442c7be02c90b9e6b2b9e9809def42ae37;hp=68fd252ce17d11e6aab839f89896ec6db792a39f;hpb=1c859650b6ff11a7dbe829328fd5cae3816b9231;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 68fd252ce1..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,24 +1,18 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% DO NOT EDIT this file manually; it is automatically +%% 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.13.1" +\version "2.18.0" \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 = "editorial-annotations, really-cool, scheme-language, tweaks-and-overrides" 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. +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" @@ -37,16 +31,14 @@ parallelogram = fill grestore" ) (cons 0 1.3125) - (cons 0 0)) + (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 } - -