]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/string-number-extender-lines.ly
Issue 3751: Doc: Augment documentation for \inStaffSegno
[lilypond.git] / Documentation / snippets / string-number-extender-lines.ly
index 9e34f1ed6471617738690ebc92def167e1e5d95a..726e69b778ac901b19d6f6c8e7e59d995fa4dc7b 100644 (file)
@@ -4,8 +4,8 @@
 % 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.16.0"
+%% Note: this file works from version 2.17.6
+\version "2.17.6"
 
 \header {
   lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides, scheme-language"
@@ -22,10 +22,10 @@ series of notes is supposed to be played all on the same string.
 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.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 }
   #})