]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/rhythmic-slashes.ly
lilypond-book robustness: ensure EOL at the end of @verbatim
[lilypond.git] / input / lsr / rhythmic-slashes.ly
index 297987f5dbc51ec750081c6fecf9660b19626fc9..554be0e03527dd6fdce7651370ebb70e44856161 100644 (file)
@@ -1,6 +1,6 @@
 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.11.52"
+\version "2.13.1"
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
@@ -21,11 +21,12 @@ 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 #'thickness = #0.48
+  \once \override Rest #'slope = #1.7
   r4
 }
 
@@ -33,17 +34,18 @@ rs = {
 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
+    \override Rest #'thickness = #0.48
+    \override Rest #'slope = #1.7
     \repeat unfold $count { r4 }
     \revert Rest #'stencil
   #}
 )
 
-\score{
+\score {
   \relative c' {
-    c d e f |
+    c4 d e f |
     \rs \rs \rs \rs |
     \comp #4 |
   }
 }
+