]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/string-number-extender-lines.ly
Imported Upstream version 2.16.0
[lilypond.git] / Documentation / snippets / string-number-extender-lines.ly
index 16397b373567b0aa10bc624256674e26475c15b0..9e34f1ed6471617738690ebc92def167e1e5d95a 100644 (file)
@@ -1,13 +1,14 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.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.14.0"
+% 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.16.0"
 
 \header {
-  lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides"
+  lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides, scheme-language"
 
   texidoc = "
 Make an extender line for string number indications, showing that a
@@ -17,13 +18,14 @@ 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 }
   #})
 
 
@@ -37,4 +39,3 @@ stringNumberSpanner =
   g\startTextSpan a
   bes4 a g2\stopTextSpan
 }
-