LSR: Local update.
[lilypond/mpolesky.git] / Documentation / snippets / string-number-extender-lines.ly
blob661c8570bbb3ecc4cad0da7e08a89ff6eeae1062
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.10"
6 \header {
7 lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides"
9 texidoc = "
10 Make an extender line for string number indications, showing that a
11 series of notes is supposed to be played all on the same string.
14 doctitle = "String number extender lines"
15 } % begin verbatim
17 stringNumberSpanner =
18 #(define-music-function (parser location StringNumber) (string?)
20 \override TextSpanner #'style = #'solid
21 \override TextSpanner #'font-size = #-5
22 \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
23 \override TextSpanner #'(bound-details left text) = \markup { \circle \number $StringNumber }
24 #})
27 \relative c {
28 \clef "treble_8"
29 \stringNumberSpanner "5"
30 \textSpannerDown
31 a8\startTextSpan
32 b c d e f\stopTextSpan
33 \stringNumberSpanner "4"
34 g\startTextSpan a
35 bes4 a g2\stopTextSpan