X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fstring-number-extender-lines.ly;h=286c20bcc9e6e5f2db9a59a5ff622f5a9c2751eb;hb=4d405ef96a8a62771d7d9a283ff5369a772e89d8;hp=c2da70bda19fb97462f9b656d51ec1a753054d11;hpb=d65a3a9777a9e96029f6aa408d86d13a88f6619d;p=lilypond.git diff --git a/Documentation/snippets/string-number-extender-lines.ly b/Documentation/snippets/string-number-extender-lines.ly index c2da70bda1..286c20bcc9 100644 --- a/Documentation/snippets/string-number-extender-lines.ly +++ b/Documentation/snippets/string-number-extender-lines.ly @@ -1,10 +1,13 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% 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.13.31" +\version "2.19.22" \header { - lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides" + lsrtags = "editorial-annotations, fretted-strings, scheme-language, text, tweaks-and-overrides" texidoc = " Make an extender line for string number indications, showing that a @@ -15,13 +18,14 @@ series of notes is supposed to be played all on the same string. } % begin verbatim stringNumberSpanner = -#(define-music-function (parser location StringNumber) (string?) - #{ - \override TextSpanner #'style = #'solid - \override TextSpanner #'font-size = #-5 - \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER - \override TextSpanner #'(bound-details left text) = \markup { \circle \number $StringNumber } - #}) + #(define-music-function (StringNumber) (string?) + #{ + \override TextSpanner.style = #'solid + \override TextSpanner.font-size = #-5 + \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER + \override TextSpanner.bound-details.left.text = + \markup { \circle \number $StringNumber } + #}) \relative c { @@ -34,4 +38,3 @@ stringNumberSpanner = g\startTextSpan a bes4 a g2\stopTextSpan } -