X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fstring-number-extender-lines.ly;h=5e60c526965105aafb9da4f82ca13ffaa8c34357;hb=061c50f352513cc942c1741d5b9429de5ae52b1d;hp=758a444a40b1a5c2264d4baccc5ec93d07f05380;hpb=42cf5468694e6757494d4505ab9b6ea7bc591e59;p=lilypond.git diff --git a/Documentation/snippets/string-number-extender-lines.ly b/Documentation/snippets/string-number-extender-lines.ly index 758a444a40..5e60c52696 100644 --- a/Documentation/snippets/string-number-extender-lines.ly +++ b/Documentation/snippets/string-number-extender-lines.ly @@ -1,9 +1,22 @@ -%% 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.39" +% 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 { +%% Translation of GIT committish: 28097cf54698db364afeb75658e4c8e0e0ccd716 + texidocfr = " +Voici comment ajouter une ligne de prolongation à une indication de +numéro de corde, afin de stipuler que les notes qui suivent doivent être +jouées sur la corde en question. + +" + doctitlefr = "Ligne de prolongation pour numéro de corde" + lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides" texidoc = " @@ -14,13 +27,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 } #})