X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fstring-number-extender-lines.ly;h=286c20bcc9e6e5f2db9a59a5ff622f5a9c2751eb;hb=b25b4262c8124b4d4279527ce00f1c7dd705a9c7;hp=b301f43c310f958720130411be659f9b0be0fddb;hpb=cb951038d3e74a85ec8539d0dc51260088251556;p=lilypond.git diff --git a/Documentation/snippets/string-number-extender-lines.ly b/Documentation/snippets/string-number-extender-lines.ly index b301f43c31..286c20bcc9 100644 --- a/Documentation/snippets/string-number-extender-lines.ly +++ b/Documentation/snippets/string-number-extender-lines.ly @@ -1,14 +1,13 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% 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.19.22" \header { - lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides, scheme-language" + lsrtags = "editorial-annotations, fretted-strings, scheme-language, text, tweaks-and-overrides" texidoc = " Make an extender line for string number indications, showing that a @@ -18,15 +17,15 @@ series of notes is supposed to be played all on the same string. doctitle = "String number extender lines" } % 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 {