]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/rhythmic-slashes.ly
LSR: update.
[lilypond.git] / input / lsr / rhythmic-slashes.ly
index 3e24677492e1c87d4d01306ad6f7767b0066e3e5..45e09b689086c44dd5e55a2b7150a6430620bc44 100644 (file)
@@ -1,9 +1,10 @@
 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-%% Tags: rhythms, editorial-and-educational-use, tweaks-and-overrides
-\version "2.11.35"
+\version "2.11.38"
 
-\header { texidoc = "
+\header {
+  lsrtags = "rhythms, editorial-and-educational-use, tweaks-and-overrides"
+ texidoc = "
 In \"simple\" lead-sheets, sometimes no actual notes are written,
 instead only \"rhythmic patterns\" and chords above the measures are
 noted giving the structure of a song.  Such a feature is for example
@@ -21,25 +22,26 @@ the appropriate duration).
 % 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
-r4
+  \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?)
-#{
-\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
-#})
+  #{
+    \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
+  #}
+)
 
 \score{
-\relative c'{
- c d e f | \rs \rs \rs \rs | \comp #4 |
-}
+  \relative c'{
   c d e f | \rs \rs \rs \rs | \comp #4 |
+  }
 }