X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Flsr%2Frhythmic-slashes.ly;h=5e64b7d79ca9a8b8181847cb695005f77c11a0f7;hb=a534f05a49c1d37e5fd9e8073b1fb48c051c2232;hp=9cfdbdf9ed0382a121a9c2db973ebf7ae23033c6;hpb=0639a872a6401bc905cb3ebd0278f0a1e27519d3;p=lilypond.git diff --git a/input/lsr/rhythmic-slashes.ly b/input/lsr/rhythmic-slashes.ly index 9cfdbdf9ed..5e64b7d79c 100644 --- a/input/lsr/rhythmic-slashes.ly +++ b/input/lsr/rhythmic-slashes.ly @@ -1,10 +1,11 @@ %% 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.38" +\version "2.12.0" \header { lsrtags = "rhythms, tweaks-and-overrides" - texidoc = " + + texidoc = " In \"simple\" lead-sheets, sometimes no actual notes are written, instead only \"rhythmic patterns\" and chords above the measures are notated giving the structure of a song. Such a feature is for example @@ -16,13 +17,16 @@ example shows two solutions to this problem, by redefining ordinary rests to be printed as slashes. (If the duration of each beat is not a quarter note, replace the @code{r4} in the definitions with a rest of the appropriate duration). -" } -% begin verbatim + +" + 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 } @@ -30,16 +34,16 @@ 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 | }