]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/generating-custom-flags.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / generating-custom-flags.ly
index 99579b27f46d418c2ab24f4ae7f68c0715550c9e..3ba7022e5bcdb3350c37188a80dbfb5a86a1298a 100644 (file)
@@ -1,24 +1,22 @@
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
-\version "2.17.6"
+%% 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.18.0"
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
 
   texidoc = "
-The @code{stencil} property of the Flag grob can be set to a custom scheme
-function to generate the glyph for the flag.
+The @code{stencil} property of the @code{Flag} grob can be set to a
+custom scheme function to generate the glyph for the flag.
 
 "
   doctitle = "Generating custom flags"
 } % begin verbatim
 
-
 #(define-public (weight-flag grob)
    (let* ((stem-grob (ly:grob-parent grob X))
           (log (- (ly:grob-property stem-grob 'duration-log) 2))
@@ -47,7 +45,10 @@ function to generate the glyph for the flag.
           (rotated-flag (ly:stencil-rotate-absolute stencil 180 0 0)))
      (ly:stencil-translate rotated-flag (cons (- (/ stem-width 2)) 0))))
 
-snippetexamplenotes = { \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64 }
+snippetexamplenotes =
+{
+  \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64
+}
 
 {
   \override Score.RehearsalMark.self-alignment-X = #LEFT