]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/rhythmic-slashes.ly
Issue 4422/5: Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / rhythmic-slashes.ly
index cc45cfe3ea70e6dafe616b767414d693003ae339..70ec77a604125e1041f8438c7a2f6f6f6931bddd 100644 (file)
@@ -1,13 +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.19.22"
 
 \header {
-  lsrtags = "tweaks-and-overrides, rhythms"
+  lsrtags = "rhythms, tweaks-and-overrides"
 
   texidoc = "
 In @qq{simple} lead-sheets, sometimes no actual notes are written,
@@ -26,23 +26,22 @@ the appropriate duration).
   doctitle = "Rhythmic slashes"
 } % begin verbatim
 
-
 % Macro to print single slash
 rs = {
-  \once \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash
-  \once \override Rest #'thickness = #0.48
-  \once \override Rest #'slope = #1.7
+  \once \override Rest.stencil = #ly:percent-repeat-item-interface::beat-slash
+  \once \override Rest.thickness = #0.48
+  \once \override Rest.slope = #1.7
   r4
 }
 
 % Function to print a specified number of slashes
-comp = #(define-music-function (parser location count) (integer?)
+comp = #(define-music-function (count) (integer?)
   #{
-    \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash
-    \override Rest #'thickness = #0.48
-    \override Rest #'slope = #1.7
+    \override Rest.stencil = #ly:percent-repeat-item-interface::beat-slash
+    \override Rest.thickness = #0.48
+    \override Rest.slope = #1.7
     \repeat unfold $count { r4 }
-    \revert Rest #'stencil
+    \revert Rest.stencil
   #}
 )
 
@@ -53,4 +52,3 @@ comp = #(define-music-function (parser location count) (integer?)
     \comp #4 |
   }
 }
-