X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fstring-number-extender-lines.ly;h=7023df2f0c7f3bcfa7b528331a716af644607b76;hb=9a73c67a79a21b889d67f8d28f2c106de830d936;hp=d141b82846a16cec23f4c7f290d5efaeb0472d6e;hpb=70ff1f9ec002479b4b34e6e470c0e479d6060a57;p=lilypond.git diff --git a/Documentation/snippets/string-number-extender-lines.ly b/Documentation/snippets/string-number-extender-lines.ly index d141b82846..7023df2f0c 100644 --- a/Documentation/snippets/string-number-extender-lines.ly +++ b/Documentation/snippets/string-number-extender-lines.ly @@ -1,26 +1,31 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. -\version "2.13.4" +% 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.15.20 +\version "2.15.20" \header { lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides" texidoc = " Make an extender line for string number indications, showing that a -series of notes is supposed to be played all on the same string. +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 } + \override TextSpanner #'(bound-details left text) = \markup { \circle \number #StringNumber } #}) @@ -30,8 +35,8 @@ stringNumberSpanner = \textSpannerDown a8\startTextSpan b c d e f\stopTextSpan - \stringNumberSpanner "4" - g\startTextSpan a + \stringNumberSpanner "4" + g\startTextSpan a bes4 a g2\stopTextSpan }